File Editor pane- Dsm Tab

Use this pane to display and debug disassembled code. Use the Debug menu or the command buttons to invoke the debugger commands. The commands, messages, and results are displayed in the various tabs of the Output pane.

RealView Debugger displays the disassembled code, interleaved with the source code. If you want to display disassembly only, change the Debuggerimage\optarrow.gifDisassemblerimage\optarrow.gifAsm source setting to False for your workspace in the Workspace Options window.

A red box is drawn around the location of the Program Counter (PC). If the PC is at the entry point, the red box is drawn around main ().

image\lamp.gifIf you force scope, the red box shows current context, which is not necessarily the location of the PC.

Each line of source-level code might require more than one assembly instruction. It is unlikely therefore that the source-level and assembly-level areas correspond exactly. When you switch between modes, the highlighted line in the code area corresponds to the same execution point in each mode.

image\lamp.gifIf Tooltip Evaluation is enabled, you can evaluate variables and registers by hovering your mouse pointer above them in the code. If it is possible to evaluate them, a tooltip is displayed with the name of the object and its value. This option is selected by default, and you can turn it on or off from the Advanced option of the Code Window Edit menu.

Three different context menus are available, depending on where you right-click:

Right-click in the left margin.

Click the following links to see pop-up descriptions of the options:

Set Break (double click)

Set Break All Threads

Go To Here

Scope To Here

Show Disassembly/Source at this Location

Set HSD Break

Set System Break

Set Process Break

Set Thread Break

Set Break…

Set BreakIf…

Set/Toggle Tracepoint...

Set Detailed Tracepoint...

Set Trace Range

Break Info…

Patch Asm Interactive…

Set PC to Here

Right-click on the disassembled code.

Click the following links to see pop-up descriptions of the options:

Print

Print Type

Print Values in Hex

Print *

Print &

Watch

Set New Value…

Set to 0

Increment

Decrement

Set Break…

Set Break If…

Set Break on Statement

Scope To

Set Instr Break

View Memory At Value

View Memory At Address

Right-click on the white space area.

Click the following links to see pop-up descriptions of the options:

Scope to PC

Scope Up Stack

Scope Down Stack

Show Context

Mode Switch

View from Location...

Set Disassembly Format…

Set Break on Statement

Clear Output

Show Previous Line/Address

Previous Line/Addr List...