Keil Logo

Debug Commands

In the following tables all available µVision3 Debug Commands are listed in categories. Use the capital letters to enter the commands. For example, the WatchSet command must be entered as WS.

Memory Commands: Display and Alter Memory Contents
ASM Assembles in-line code.
DEFINE Defines typed symbols that you may use with µVision3 debug functions.
Display Display the contents of memory.
Enter Enters values into a specified memory area.
EVALuate Evaluates an expression and outputs the results.
MAP Specifies access parameters for memory areas.
Unassemble Disassembles program memory.
WatchKill Delete all watch variables in the specified Watch window.
WatchSet Adds a watch variable to the Watch window.
Execution Commands: Run and Step through Program Code
Go Starts program execution.
Pstep Steps over instructions but does not step into procedures or functions.
Ostep Steps out of the current function.
Tstep Steps over instructions and into functions.
Breakpoint Commands: Halt Program Execution on Read, Write, or Execution
BreakDisable Disables one or more breakpoints.
BreakEnable Enables one or more breakpoints.
BreakKill Removes one or more breakpoints from the breakpoint list.
BreakList Lists the current breakpoints.
BreakSet Adds a breakpoint expression to the list of breakpoints.
General Commands: For Easier, more Convenient Debugging
ASSIGN Assigns input and output sources for the Serial window.
COVERAGE List code coverage statistics.
DEFINE BUTTON Creates a Toolbox button.
DIR Generates a directory of symbol names.
EXIT Exits the µVision3 debug mode.
INCLUDE Reads and executes the commands in a command file.
KILL Deletes µVision3 debug functions and Toolbox buttons.
LOAD Loads CPU drivers, object modules, and HEX files.
LOG Creates log files, queries log status, and closes log files for the Debug window.
MODE Sets the baud rate, parity, and number of stop bits for PC COM ports.
PerformanceAnalyze Setup the performance analyzer or list PA information.
RESET Resets CPU, memory map assignments, Performance Analyzer or predefined variables.
SAVE Saves a memory range in an Intel HEX386 file.
SCOPE Displays address assignments of modules and functions of a target program.
SET Sets the string value for predefined variable.
SIGNAL Displays signal function status and removes active signal functions.
SLOG Creates log files, queries log status, and closes log files for the Serial window.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.