Keil™, An ARM® Company

µVision® User's Guide

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
ASMAssembles in-line code.
DEFINEDefines typed symbols that you may use with µVision3 debug functions.
DisplayDisplay the contents of memory.
EnterEnters values into a specified memory area.
EVALuateEvaluates an expression and outputs the results.
MAPSpecifies access parameters for memory areas.
UnassembleDisassembles program memory.
WatchKillDelete all watch variables in the specified Watch window.
WatchSetAdds a watch variable to the Watch window.
Execution Commands: Run and Step through Program Code
GoStarts program execution.
PstepSteps over instructions but does not step into procedures or functions.
OstepSteps out of the current function.
TstepSteps over instructions and into functions.
Breakpoint Commands: Halt Program Execution on Read, Write, or Execution
BreakDisableDisables one or more breakpoints.
BreakEnableEnables one or more breakpoints.
BreakKillRemoves one or more breakpoints from the breakpoint list.
BreakListLists the current breakpoints.
BreakSetAdds a breakpoint expression to the list of breakpoints.
General Commands: For Easier, more Convenient Debugging
ASSIGNAssigns input and output sources for the Serial window.
COVERAGEList code coverage statistics.
DEFINE BUTTONCreates a Toolbox button.
DIRGenerates a directory of symbol names.
EXITExits the µVision3 debug mode.
INCLUDEReads and executes the commands in a command file.
KILLDeletes µVision3 debug functions and Toolbox buttons.
LOADLoads CPU drivers, object modules, and HEX files.
LOGCreates log files, queries log status, and closes log files for the Debug window.
MODESets the baud rate, parity, and number of stop bits for PC COM ports.
PerformanceAnalyzeSetup the performance analyzer or list PA information.
RESETResets CPU, memory map assignments, Performance Analyzer or predefined variables.
SAVESaves a memory range in an Intel HEX386 file.
SCOPEDisplays address assignments of modules and functions of a target program.
SETSets the string value for predefined variable.
SIGNALDisplays signal function status and removes active signal functions.
SLOGCreates log files, queries log status, and closes log files for the Serial window.