Breakpoints in CCS¶
Note
CCS reserves one hardware breakpoint for instruction stepping.
To toggle a breakpoint, do any of the following.
Double-click the area to the left of the line number.
Press
Ctrl+Shift+B.Right-click on the line.
A breakpoint set on line 207 in CCS Eclipse, and line 73 on CCS Theia looks like the following.
Breakpoint on line 207. Debugger halted at start of main().¶
CCS Theia Breakpoint on line 73.¶
For an overview of the active and inactive breakpoints, click on View
→ Breakpoints.
List of breakpoints. Right-click to edit options, or de-select to deactivate.¶
Once you enter debug window on CCS Theia, the breakpoints are automatically listed.¶
To set a conditional break, do as follows.
Right-click the breakpoint in the overview.
Choose Properties.
When debugging, Skip Count and Condition can help skip a number of breaks or only break if a variable is a certain value.
Note
Conditional breaks require a debugger response and may halt the processor long enough to break an active RF connection, or otherwise disrupt timing on the debug target.