Debugger Engine Commands
Debugger Commands
785
Microcontrollers Debugger Manual

FOCUS

The FOCUS command sets the given component (component) as the destination for all
subsequent commands up to the next ENDFOCUS command. Hence, the focus command
releases the user from repeatedly specifying the same command redirection, especially in
the case where command files are edited manually. This command is only valid in a
command file.
NOTE It is not possible to visually notice that a component is “FOCUSed”. However,
you can use the ACTIVATE command to activate a component window.
Usage
FOCUS component
Components
Debugger engine.
Example:
FOCUS Assembly
ATTRIBUTES code on
ENDFOCUS
FOCUS Source
ATTRIBUTES marks on
ENDFOCUS
The ATTRIBUTES command is first redirected to the Assembly component by the
FOCUS Assembly command. The code is displayed next to assembly instructions.
Then the Assembly component is released by the ENDFOCUS command and the
second ATTRIBUTES command is redirected to the Source component by the
FOCUS Source command. Marks are displayed in the Source window.