| |||
| Home > DS-5 Debug perspective and views > Breakpoints view | |||
This view enables you to:
disable, enable, or delete breakpoints and watchpoints
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.
A breakpoint entry has the following syntax:
source_file:linenum@function+offsetaddress[#IDinstruction_type, ignore =num/count,nHitshits, (condition)]
where:
source_file:linenumIf the source file is available, the file name and
line number in the file where the breakpoint is set, threads.c:115.
function+offsetThe name of the function in which the breakpoint
is set and the number of bytes from the start of the function. For
example, accumulate()+52 shows that the breakpoint
is 52 bytes from the start of the accumulate() function.
addressThe address where the breakpoint is set.
IDThe breakpoint ID number, #.
In some cases, such as in a for loop, a breakpoint might
comprise a number of sub-breakpoints. These are identified as N,
where N.n is the number
of the parent. The description of a sub-breakpoint in this dialog box
is shown asN
main()+132sub-breakpoint ofmain()+132 @ threads.c:56
[#14 ARM] (threads)
instruction_typeThe type of instruction at the address of the breakpoint, ARM or Thumb.
ignore = num/countAn ignore count if set, where:
equals numcount initially,
and decrements on each pass until it reaches zero.
is the
value you have specified for the countignore count.
nHits hitsA counter that increments each time the breakpoint
is hit. This is not displayed until the first hit. If you set an ignore count, hits count
does not start incrementing until the ignore count
reaches zero.
conditionThe stop condition you have specified, (i==3).
A watchpoint entry has the following syntax:
nametype[#ID]
where:
nameThe name of the variable where the watchpoint is set.
typeThe access type of the watchpoint.
IDThe watchpoint ID number.
A tracepoint entry has the following syntax:
source_file:linenumaddress
where:
addressThe address where the tracepoint is set.
source_file:linenumIf the source file is available, the file name and
line number in the file where the tracepoint is set, Fireworks.c:529
0x80000A72.
The following options are available from the toolbar or context menu:
contextLinks this view to the selected connection in the Debug Control view. This is the default. Alternatively you can link the view to a specific connection. If the connection you want is not shown in the drop-down list you might have to select it first in the Debug Control view.
Removes the selected breakpoints and watchpoints.
Removes all breakpoints and watchpoints.
Displays the source file containing the line of code where the selected breakpoint is set. This option is disabled for a watchpoint.
Displays the disassembly where the selected breakpoint is set. This option is disabled for a watchpoint.
Displays the memory where the selected watchpoint is set. This option is disabled for a breakpoint.
Deactivates all breakpoints or watchpoints that are currently set. The debugger remembers the enabled and disabled state of each breakpoint or watchpoint, and restores that state when you reactivate them again.
Enables the selected breakpoints and watchpoints.
Disables the selected breakpoints and watchpoints.
Re-evaluates the address of the selected breakpoint or watchpoint. If the address can be resolved the breakpoint or watchpoint is set, otherwise it remains pending.
Displays the Properties dialog box for the selected breakpoint, watchpoint or tracepoint. This enables you to control activation or change the access type for the selected watchpoint.
Copies the selected breakpoints and watchpoints. You can also use the standard keyboard shortcut to do this.
Pastes the copied breakpoints and watchpoints. The breakpoints or watchpoints are enabled by default. You can also use the standard keyboard shortcut to do this.
Selects all breakpoints or watchpoints. You can also use the standard keyboard shortcut to do this.
The following View Menu options are available:
Displays a new instance of the Breakpoints view.
Exports the current list of breakpoints and watchpoints to a file.
Imports a list of breakpoints and watchpoints from a file.
Sorts the list alphanumerically based on the string displayed in the view.
Sorts the list in the order they have been set.
Displays the Manage Signal dialog box.
ARM® DS-5™ Debugger Command Reference:
ARM® DS-5™ Using Eclipse: