Use the Breakpoints view to display the breakpoints, watchpoints, and tracepoints you have set in your program.
It also enables you to:
- Disable, enable, or delete breakpoints, watchpoints, and tracepoints.
- Import or export a list of breakpoints and watchpoints.
- Display the source file containing the line of code where the selected breakpoint is set.
- Display the disassembly where the selected breakpoint is set.
- Display the memory where the selected watchpoint is set.
- Delay breakpoint activation by setting properties for the breakpoint.
- Control the handling and output of messages for all Unix signals and processor exception handlers.
- Change the access type for the selected watchpoint.
Figure 15-5 Breakpoints view showing breakpoints and sub-breakpoints
Syntax of a breakpoint entry
A breakpoint entry has the following syntax:
<source_file>:<linenum> @ <function>+<offset> <address> [#<ID> <instruction_set>, ignore = <num>/<count>, <nHits> hits, (<condition>)]
If the source file is available, the file name and line number in the file where the breakpoint is set, for example
The name of the function in which the breakpoint is set and the number of bytes from the start of the function. For example,
main_app+0x12shows that the breakpoint is 18 bytes from the start of the
The address at which the breakpoint is set.
The breakpoint ID number,
#<N>. In some cases, such as in a for loop, a breakpoint might comprise a number of sub-breakpoints. These are identified as
<N>is the number of the parent. The syntax of a sub-breakpoint entry is:
<function>+<offset> <address> [#<ID>]
The instruction set of the instruction at the address of the breakpoint,
ignore = <num>/<count>
ignorecount, if set, where:
countinitially, and decrements on each pass until it reaches zero.
<count>is the value you have specified for the
A counter that increments each time the breakpoint is hit. This is not displayed until the first hit. If you set an
hitscount does not start incrementing until the
ignorecount reaches zero.
The stop condition you have specified.
Syntax of a watchpoint entry
A watchpoint entry has the following syntax:
<name> <type> @ <address> [#<ID>]
The name of the variable where the watchpoint is set.
The access type of the watchpoint.
The address at which the watchpoint is set.
The watchpoint ID number.
Syntax of a tracepoint entry
A tracepoint entry has the following syntax:
If the source file is available, the file name and line number in the file where the tracepoint is set.