High-performance Embedded Workshop
17. Using the Debugger
REJ10J1837-0100 Rev.1.00 Nov. 16, 2008
299
Window configuration
•
Clicking another toolbar button switches the display mode. To view disassembly codes in mixed mode, click
the "View mixed mode" button. To view source codes in source mode, click the "View Source" button.
•
The columns listed in the table below are on the left of the "Disassembly" field.
Column Name
Description
S/W Breakpoints - ASM
Display the PC location (
), breakpoints ( ). Setting PC breakpoint by
double-click.
Disassembly Address
Display the disassembly address. Open the
Set Address
dialog box by
double-click. Enter the address to jump to.
Obj code
Display the object codes.
Label
Display the Labels. This column is not available if no module has been
downloaded.
•
Double-clicking the "Disassembly" field (in disassembly mode) opens the
Assembler
dialog box. Enter
assembly-language codes.
Options
Right-clicking within the "Disassembly" field opens a pop-up menu containing available options.
Pop-up Menu Option
Macro Recording
Function
Refresh
-
Acquires the latest disassembly information to update the contents of the window.
Lock Refresh
-
It is possible to lock a memory range in the disassembly (in disassembly mode) so
that it does not refresh.
View Source
-
Launches editor at location in source.
Set Address
-
Enters a new start address.
Go To Cursor
Commences to execute the user program starting from the current PC address.
The program will continue to run until the PC reaches the address indicated by the
text cursor (not the mouse cursor) or another break condition is satisfied.
Display PC
-
Displays the disassembled codes at the PC location.
Set PC Here
Changes the value of the PC to the address indicated by the text cursor (not the
mouse cursor).
Edit
-
Modifies the instruction at that address.
Find in Range
-
Searches the range for the specified text string.
Copy
-
Places a copy of the highlighted text into the Windows® clipboard.
Define Column Format
-
Sets the status of editor and disassembly columns.
Turn Header On/Off
-
Shows or hides the column header.
Save Disassembly Text
-
Saves the specific range.
-
Prints the specific range.
Toggle Breakpoint
Sets or clears a software breakpoint at the line showing the address.
Enable/Disable Breakpoint
Enables or disables the current software breakpoint.