Breakpoints view

This view enables you to:

Figure 24. Breakpoints view

Breakpoints view

Show/hideSyntax of a breakpoint entry

A breakpoint entry has the following syntax:

function+offset @ source_file:linenum [#ID instruction_type, ignore = num/count, nHits hits, (condition)] (image_name)

where:

function+offset

The 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.

source_file:linenum

If the source file is available, the file name and line number in the file where the breakpoint is set, for example threads.c:115.

ID

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.n, where N is the number of the parent. The description of a sub-breakpoint in this dialog box is shown as

main()+132sub-breakpoint ofmain()+132 @ threads.c:56 [#14 ARM] (threads)

instruction_type

The type of instruction at the address of the breakpoint, ARM or Thumb.

ignore = num/count

An ignore count if set, where:

num equals count initially, and decrements on each pass until it reaches zero.

count is the value you have specified for the ignore count.

nHits hits

A 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.

condition

The stop condition you have specified, for example (i==3).

image_name

The name of the image.

Show/hideSyntax of a watchpoint entry

A watchpoint entry has the following syntax:

*address type[#ID]

where:

address

The address of the variable where the watchpoint is set.

type

The access type of the watchpoint.

ID

The watchpoint ID number.

Show/hideToolbar and context menu options

The following options are available from the toolbar or context menu:

Remove

Remove the selected breakpoints and watchpoints.

Remove All

Remove all breakpoints and watchpoints.

Go to File

Display the source file containing the line of code where the selected breakpoint is set. This option is disabled for a watchpoint.

Go to Disassembly

Display the disassembly where the selected breakpoint is set. This option is disabled for a watchpoint.

Go to Memory

Display the memory where the selected watchpoint is set. This option is disabled for a breakpoint.

Skip All Breakpoints

Deactivate 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.

Enable Breakpoints

Enable the selected breakpoints and watchpoints.

Disable Breakpoints

Disable the selected breakpoints and watchpoints.

Resolve

Re-evaluate the address of the selected breakpoint or watchpoint. If the address can be resolved the breakpoint or watchpoint is set, otherwise it remains pending.

Properties...

Display the Breakpoint Properties dialog box for the selected breakpoint. This enables you to control breakpoint activation.

Alternatively, display the Watchpoint Properties dialog box for the selected watchpoint. This enables you to change the access type for the selected watchpoint.

Copy

Copy the selected breakpoints and watchpoints. You can also use the standard keyboard shortcut to do this.

Paste

Paste the copied breakpoints and watchpoints. The breakpoints or watchpoints are enabled by default. You can also use the standard keyboard shortcut to do this.

Select all

Select all breakpoints or watchpoints. You can also use the standard keyboard shortcut to do this.

View Menu

The following View Menu options are available:

Alphanumeric Sort

Sort the list alphanumerically based on the string displayed in the view.

Export Breakpoints

Export the current list of breakpoints and watchpoints to a file.

Import Breakpoints

Import a list of breakpoints and watchpoints from a file.

Manage Signals

Display the Manage Signal dialog box.

Ordered Sort

Sort the list in the order they have been set.

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446D
Non-ConfidentialID011411