Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Start debugging a running application

In this section:

Using an E1, E2, or E20 emulator, you can start debugging a running application at its current location, without resetting the target system.

Start debugging from the middle of execution
  1. Make sure that the target board is powered by external power and disconnect the emulator from the target board.

  2. Choose Project>Attach to running target. For information about this menu command, see the description under Project menuProject menu.

  3. When you are prompted, connect the emulator to the target board and click OK.

  4. When the debug session starts, your application is still executing but now you can monitor RAM and look at variables in the Live Watch window.

  5. To stop execution, click Stop.

  6. You can now debug your application as usual.

You can leave the target system running by closing the debug session and disconnecting the emulator when you are prompted. Note that in that case you must reset the target system before you can connect again.