Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑attach_to_running_target

In this section:
Syntax
‑‑attach_to_running_target
For use with

cspybat

Note

This option might not be supported by the combination of C-SPY driver and device that you are using. If you are using this option with an unsupported combination, C-SPY produces a message.

Description

Use this option to make the debugger attach to a running application at its current location, without resetting the target system.

If you have defined any breakpoints in your project, the C-SPY driver will set them during attachment. If the C-SPY driver cannot set them without stopping the target system, the breakpoints will be disabled. The option also suppresses download and the Run to option.

Caution

Project>Attach to Running Target