Breakpoints view

This view enables you to:

Figure 30. Breakpoints view

Breakpoints view

Show/hideSyntax of a breakpoint entry

A breakpoint entry has the following syntax:

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

where:

source_file:linenum

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

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.

address

The address where the breakpoint is set.

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, (i==3).

Show/hideSyntax of a watchpoint entry

A watchpoint entry has the following syntax:

name type[#ID]

where:

name

The name of the variable where the watchpoint is set.

type

The access type of the watchpoint.

ID

The watchpoint ID number.

Show/hideSyntax of a tracepoint entry

A tracepoint entry has the following syntax:

source_file:linenum address

where:

address

The address where the tracepoint is set.

source_file:linenum

If the source file is available, the file name and line number in the file where the tracepoint is set, Fireworks.c:529 0x80000A72.

Show/hideToolbar and context menu options

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

Linked: context

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

Delete

Removes the selected breakpoints and watchpoints.

Delete All

Removes all breakpoints and watchpoints.

Go to File

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

Go to Disassembly

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

Go to Memory

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

Skip All Breakpoints

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.

Enable Breakpoints

Enables the selected breakpoints and watchpoints.

Disable Breakpoints

Disables the selected breakpoints and watchpoints.

Resolve

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.

Properties...

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.

Copy

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

Paste

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.

Select all

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

View Menu

The following View Menu options are available:

New Breakpoints View

Displays a new instance of the Breakpoints view.

Export Breakpoints

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

Import Breakpoints

Imports a list of breakpoints and watchpoints from a file.

Alphanumeric Sort

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

Ordered Sort

Sorts the list in the order they have been set.

Manage Signals

Displays the Manage Signal dialog box.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0446J
Non-ConfidentialID051612