Debugger disconnect behavior
When the debugger disconnects from the target, you can change the behavior of the target processor. See attached screenshots to follow the instructions
- Select the project in Project Explorer
- In the Quickstart panel, open the Debug and Run section, and click on Edit 'project_name' debug configuration
- In the Debug Configuration dialog, left-hand section, click on 'project_name'(Debug)
- In the right-hand section, select the Debugger tab
- Under 'Script Values' scroll the table until the Disconnect behavior option is visible and change its value to one of the values shown in the drop-down list (see list below for description).
- Click Apply to save the value and Debug to start debugging with the new value
Four options are supported:
- nochange - leave the processor exactly as it is (if it was running, leave it running, if it was stopped, leave it stopped)
- stop - stop the processor
- cont - (continue) run the program from the current point
- run_cont - run the program from the start (simulated reset)
