Debugger Engine Commands
Debugger Commands
821
Microcontrollers Debugger Manual
SMEM
In the Source component, the SMEM command loads the corresponding module’s
source text, scrolls to the corresponding text location (the code address) and highlights the
statements that correspond to this code address range.
In the Assembly component, the SMEM command scrolls the Assembly component,
shows the location (the assembler address) and select/highlights the memory lines of the
address range given as the parameter.
In the Memory component, the SMEM command scrolls the memory dump component,
shows the locations (the memory address) of the address range given as the parameter.
Usage
SMEM range
Components
Source, Assembly and Memory components.
Example:
in>Memory < SMEM 0x8000,8
The Memory component window is scrolled and specified memory addresses are
highlighted.
SMOD
In the Source component, the SMOD command loads/displays the corresponding
module’s source text. If the module is not found, a message is displayed in Command Line
window.
In the Data component, the SMOD command loads the corresponding module’s global
variables.
In the Memory component, the SMOD command scrolls the memory dump component
and highlights the first global variable of the module.
NOTE Correct module names are displayed in the Module component window. Make
sure that the module name of your command is correct. If the.abs is in
HIWARE format, some debug information is in the object file (.o), and
module names have a .o extension (e.g., fibo.o). In ELF format, module
name extensions are .c, .cpp or .dbg (.dbg or program sources in