Debugger Engine Commands
Debugger Commands
791
Microcontrollers Debugger Manual

GOTOIF

The GOTOIF command diverts execution of the command file to the command line that
follows the label if the condition is true. Otherwise, the command is ignored. The
GOTOIF command fails, if the condition is true and the label is not found.
Usage
GOTOIF condition Label
where condition is same as defined in ā€œCā€ language.
Components
Debugger engine.
Example:
DEFINE jump = 0
...
DEFINE jump = jump + 1
...
GOTOIF jump == 10 MyLabel
T
...
MyLabel: // comments
The program pointer jumps to MyLabel only if jump equals 10. Otherwise, the next
instruction (T Trace command) is executed.

GRAPHICS

In the Profiler component, GRAPHICS switches the percentages display in the graph bar
on/off.
Usage
GRAPHICS on|off
Components
Profiler component.