Red Hat Developer Day – 26 June 201246
Debugging Your Executable
●
Right-click on executable in Project Explorer
●
Select Debug as -> Local C/C++ Application
●
Will be prompted to bring up Debug Perspective
●
Using Debug icon debugs last executable or use pull-down arrow
●
Set break-points by double-clicking editor left margin
●
Breakpoints are marked in C/C++ editor with blue dot in margin
●
Right-click in left margin allows more options
●
Toggle enablement / delete the breakpoint
●
Breakpoint Properties... allows further details
–
Condition: set a boolean condition to enable the breakpoint
–
Ignore count: set a number of times to continue before stopping
–
Can also set actions for when the breakpoint is triggered
Kommentare zu diesen Handbüchern