The Debug view shows the target information in a tree hierarchy shown below with a sample of the possible icons:
Session item | Description | Icons |
---|---|---|
Launch instance | Launch configuration name and launch type | ![]() ![]() |
Debugger instance | Debugger name and state | ![]() |
Thread instance | Thread number and state | ![]() ![]() ![]() |
Stack frame instance | Stack frame number, function, file name, and file line number | ![]() ![]() |
The number beside the thread label is a reference counter, not a thread identification number (TID).
The CDT displays stack frames as child elements. It displays the reason for the suspension beside the target, (such as end of stepping range, breakpoint hit, and signal received). When a program exits, the exit code is displayed.
In addition to controlling the individual stepping of your programs, you can also control the debug session. You can perform actions such as terminating the session and stopping the program by using the debug launch controls available from Debug view.
Action | Icon | Description |
---|---|---|
Terminate |
![]() |
Ends the selected process |
Disconnect |
![]() |
Detaches the debugger from the selected process (useful for debugging attached processes) |
Remove All Terminated |
![]() |
Clears all the killed processes in Debug view |
Terminate and Remove |
![]() |
Ends the selected process and remove it from Debug view |
Relaunch |
![]() |
Restarts the process |
Terminate All |
![]() |
Ends all active processes in Debug view |
Debug overview
Debug information