6.2. Trace-specific GUI

When navigating in the Trace window, you can right-click with the mouse to select Trace view specific options. Figure 6.2 shows these options.

Figure 6.2. Right-click options in the Trace window

Right-click options in the Trace window

The Trace view right-click options are:

Clear

Clears the current contents of both the Trace window and the trace capture buffer.

Log to file

Saves the current trace details to a file. Toggles to Cancel log file while trace details are being saved (see Saving the trace output to file for details).

Copy

Copies the currently selected lines in the view to the clipboard. You can use the standard Windows extended selection techniques to select multiple lines.

Start tracing, Stop tracing

Starts (if not started) or stops (if already started) tracing using the currently defined rules. The menu item name changes to show the available action.

Note

You must also define a rule that includes the Enable tracing action and then execute code before any trace information is displayed in the view.

Reload trace

Restart the current trace session, reloading all available information from the trace capture hardware.

Locate to

You can use the trace information to

  • display a trace line with a specific index

  • locate content in another AXD view based on an address taken from the selected trace line:

    • for data access trace lines, the address is the data memory address

    • for instruction trace lines, the address is the instruction address

    • for other lines (for example, trace interruption markers) there is no defined address.

The possible views are shown in Figure 6.3.

Figure 6.3.  Trace view Locate to menu

Trace view Locate to menu
Source

Displays the current image source window at the line of source code corresponding to the highlighted line in the Trace window.

Disassembly

Displays the current image disassembly window at the line of ARM assembly code corresponding to the highlighted line in the Trace window

Memory

Displays a memory window showing memory at the address provided from the traced line.

Goto Index...

Use this item to scroll the Trace window to show a line with a specified index number. Selecting this item displays the Goto index number dialog box, enabling you to enter the number of the line to show.

If you enter an index number that does not exist, because index numbers skip values, the window scrolls to show the line nearest the one you asked for.

Sync view

You can select this to enable automatic scrolling in the currently active source or disassembly window (see Viewing trace output with source code).

Interleave source

You can interleave assembly instructions and high-level source code in the trace view by enabling this item.

Columns

Specifies which columns are displayed in the Trace window. Select or deselect those columns which you want or do not want displayed, respectively:

The possible columns are shown in Figure 6.4.

Figure 6.4.  Trace view Columns menu

Trace view Columns menu

For a description of these columns, see Trace window output.

For details on adjusting the column width and column order, see Adjusting the displayed columns.

Format

Specifies the numerical format in which values in the Data column appear.

The possible formats are shown in Figure 6.5. Refer to the ADS Debuggers Guide for further information.

Figure 6.5.  Trace view Format menu

Trace view Format menu
Copyright © 2000-2002 ARM Limited. All rights reserved.ARM DUI 0118C
Non-Confidential