‑‑attach_to_running_target
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.
When you use this option, the hot-plugin feature that is available on some core S3 devices is used. The RAM, SFRs, and the registers A, X, B, C, D, E, H, and L can be read and written to during execution.
Caution
Project>Attach to Running Target