• No results found

AXD Facilities

4.3 Viewing and editing

4.3.3 Disassembled code

To display disassembled code that represents a part of an executable image:

1. Select either the Target or the Image tab of the Control view.

2. Expand the display (because an image can be loaded on multiple processors), and right-click on the processor you want to examine.

3. Select Disassembly from the Views submenu of the pop-up menu.

4. Scroll to the area of code you want to examine if it is close, otherwise right-click in the Disassembly view, select Goto... from the pop-up menu, and specify an address in the required area.

For further details see Disassembly processor view on page 5-40.

4.3.4 Registers

To examine the registers of the current processor, select Registers from the Processor Views menu on the main menu bar.

To examine the registers in any of the target processors:

1. Select the Target tab of the Control view.

2. Right-click on the processor that you want to view, to display the pop-up menu.

3. Select Registers from the Views submenu.

To display a separate Registers view for each target processor, see Registers processor view on page 5-19. To select registers from various Registers processor views to display together in a single Registers system view, see Registers system view on page 5-54.

To change the value stored in any register that is displayed, double-click on its current value. In-place editing enables you to update the value.

4.3.5 Watch

To examine the values of specific variables or expressions related to the current processor, select Watch from the Processor Views menu on the main menu bar.

2. Right-click on the processor that you want to view, to display the pop-up menu.

3. Select Watch from the Views submenu.

You can display a separate Watch view for each available processor.

A Watch view enables you to specify expressions based on variables (from a single process) that you want to examine whenever program execution stops. This differs from a Variables view, in which only the context variables of a process are displayed.

Each Watch view has four tabbed pages for you to display expressions and their values.

Because a Watch view displays only what you have specified, the first time you open a Watch view it is empty. Right-click to display the pop-up menu. Select Add Watch. In the resulting Watch dialog, shown in both Watch processor view on page 5-23 and Watch system view on page 5-55, you choose which tabbed page to use and whether you are adding the new watch to a Watch processor view or a Watch system view.

You can specify expressions to be watched, but a variable name alone is often sufficient.

4.3.6 Variables

To examine the context variables of the current processor, select Variables from the Processor Views menu on the main menu bar.

To examine the variables in any of the available target processors:

1. Select the Target tab of the Control view.

2. Right-click on the processor that you want to view, to display the pop-up menu.

3. Select Variables from the Views submenu.

You can display a separate Variables view for each available processor.

Variables are defined in the executable image that you load into the memory of a target so that it can be executed by a processor. You must load an image, specifying a processor, before you can examine variables.

To change the value stored in any variable that is being displayed, double-click on its current value. In-place editing enables you to update the value.

For further details, see Variables processor view on page 5-26.

4.3.7 Memory

To examine the memory of the current processor, select Memory from the Processor Views menu on the main menu bar.

To examine the memory in any of the available target processors:

1. Select the Target tab of the Control view.

2. Right-click on the processor that you want to view, to display the pop-up menu.

3. Select Memory from the Views submenu.

You can display multiple Memory views.

The four tabbed screens enable you to specify up to four areas of memory in each view.

Click on a tab to bring its area of memory to the front of the display.

To change the value stored in a memory address that is being displayed, double-click on its current value. In-place editing enables you to update the value.

For further details, see Memory processor view on page 5-31.

Locate using value

This provides another way for you to specify an area of memory to display. The Locate Using Value item is available in the pop-up menu of the following:

• registers views

• watch views

• variables views

• memory views.

In any of these views, if you select a data item that contains a memory address, then select Locate Using Value from the pop-up menu, a Memory view displays an area of memory that includes the specified address. For further details, see Watch processor view on page 5-23.

Locate using address

This provides another way for you to specify an area of memory to display. The Locate Using Address item is available in the pop-up menu of the following:

• watch views

• variables views

• backtrace views

• low level symbols views.

In any of these views, if you select a data item that can be interpreted as a memory address, then select Locate Using Address from the pop-up menu, a Memory view displays an area of memory that includes the specified address. For further details, see Watch processor view on page 5-23.