When you start a multicore debug session, multicore commands are enabled on the CodeWarrior IDE
Run
menu. These commands, when issued, affect all cores simultaneously. The table below describes each menu choice. For detailed information on these commands, refer the
CodeWarrior Common Features Guide
.
Table 1. Multicore Debugging Commands | Command |
Icon |
Description |
| Multicore Resume |
|
Starts all cores of a Multicore system running simultaneously. |
| Multicore Suspend |
|
Stops execution of all cores of a Multicore system simultaneously. |
| Multicore Restart |
|
Restarts all the debug sessions for all cores of a Multicore system simultaneously. |
| Multicore Terminate |
|
Kills all the debug sessions for all cores of a Multicore system simultaneously. |
Note: The Resume and Step Into buttons are enabled whenever one or more selected cores are in the stopped state. The Suspend button is enabled whenever one or more selected cores are in the running state. The Restart and Terminate buttons are enabled whenever one or more cores are being debugged.
To use the Multicore commands from the
Debug
perspective, perform these steps.
- Start a debugging session by selecting the appropriately configured launch configuration.
- If necessary, expand the desired core's list of active threads by clicking on the tree control.
- Click on the thread you want to use with multicore operations.
Note: Selecting a thread uses the Multicore Group the core is part of in the multicore. For more information on the Multicore Groups feature, refer to the CodeWarrior Common Features Guide.
- From the Run menu, specify the multicore operation to perform on the thread.
Note: The keyboard shortcut for the Multicore Resume operation is Shift-F8.