D E B U G G E R
14
Walk (F6). Start low-speed step-by-step target program execution with the same timing, as for the
Snapshot command. During Walk process you can change any registers and variables and therefore
immediately change program flow.
Step (F7). This key activates one command execution.
Step Over (F8). This key adds dynamic breakpoint on the next to the current P& command and therefore
omit one command. It allows step-by-step debug without subroutines or unwanted branches execution. This
function will not affect watchpoint or breakpoint already set in program.
Real Time Run. Switch on this key, when you use Realtime module and want to define target SX clock
source and frequency (see &hapter 2 for details). Switch off this key, if you use only SX-TIPS debugger/
programmer without Realtime module.
New Watch Window (ctrl+N). Open Watch &onstructor window to create new Watch Window. See
&hapter 7 for detailed Watch &onstructor description.
Run Time Measurement. This is tool for code fragment run time counting. To
measure time, Jump to &ursor and Run to &ursor commands from the pop-up menu
can be used. Set target SX program counter (P&) with the command Jump to &ursor to
the first command of the measured fragment. Than place cursor to the next command
after the last executed command of the measured fragment and activate Run to &ursor
command. Last executed command will be Breakpoint command; this command
execution time did not counted.
Real time measurement can work only with Real Time Run button switched off, with
low-speed clock about 170 kHz, generated by SX-TIPS debugger/programmer.
Popup window
In Debug mode popup window on the right mouse click
available in the source and listing windows. Most functions
are the same, as in the Debug mode toolbar. Some functions
were available only in the popup window.
Jump to &ursor. This function load new value into the
target SX microcontroller program counter (P&). This is
address of the command, currently pointed in the source or
listing window. All other registers content did not changed.
Run to &ursor. This function set dynamic breakpoint at cursor position in the source or listing window and
activate Run command. Target SX microcontroller will run from its previous state till the new breakpoint. This
function will not affect watchpoint or breakpoint already set in program.