|
|
Home / µVision User's Guide C51, C251, C166 Development Tools
Debug Commands
Debug Commands can be used in the Command Window and in debug functions. You must use
the CAPITAL letters of a command. For example, BreakAccess
must be entered as BA or ba.
Debug commands can be built using:
Breakpoint Commands
Use breakpoint commands to halt program execution, to stop
commands, or interrupt user functions.
Command |
Description |
BreakAccess |
Add an access breakpoint with a length
parameter to the breakpoint list. |
BreakDisable |
Disable one or more breakpoints. |
BreakEnable |
Enable one or more breakpoints. |
BreakKill |
Remove one or more breakpoints from the
breakpoint list. |
BreakList |
List all breakpoints. |
BreakSet |
Add a breakpoint expression to the list of
breakpoints. |
General Commands
General commands perform a number of miscellaneous debugging
operations.
Command |
Description |
ASSIGN |
Assign input and output sources for the Serial
window. |
DEFINE |
Create a Toolbox button. |
DIR |
Generate a directory of symbol names. |
EXIT |
Exit debug mode. |
FUNC |
Create C-like functions for debugging. |
INCLUDE |
Read and execute commands in a command
file. |
KILL |
Delete user- or signal functions and Toolbox
buttons. |
LOAD |
Load object modules and HEX files. |
LOG |
Create log files, querie log status, and close
log files for the Debug window. |
MODE |
Set the baud rate, parity, and number of stop
bits for PC COM ports. |
RESET |
Reset the CPU, memory map assignments, and
predefined variables. |
SAVE |
Save a memory range in an Intel HEX386
file. |
SCOPE |
Display address assignments of modules and
functions of a target program. |
SET |
Set the string value for predefined
variables. |
SIGNAL |
Display signal function status and remove active
signal functions. |
SLOG |
Create log files, querie log status, and close
log files for the Serial window. |
Memory Commands
Memory commands display and change the content of memory.
Command |
Description |
ASM |
Assemble in-line code. |
DEFINE |
Define symbols or Toolbar buttons. |
DISPLAY |
Display the content of memory. |
ENTER |
Enter values into a specified memory area. |
EVALuate |
Evaluate an expression and output the
results. |
MAP |
Specifie access parameters for memory
areas. |
Unassemble |
Disassemble program memory. |
WatchSet |
Add a watch variable to the Watch window. |
WatchKill |
Kill all watch variable in the Watch
window. |
Program Commands
Program commands execute target programs and analyze their
performance.
Command |
Description |
COVERAGE |
Display code coverage information. |
COVTOFILE |
Save code coverage information quickly without
displaying it. |
Go |
Start program execution. |
LogicAnalyze |
Add, delete, or display Logic Analyser
variables. |
PerformanceAnalyze |
Add, delete, display, or reset Performance
Analyzer ranges. |
Pstep |
Step over instructions but do not step into
procedures or functions. |
Ostep |
Step out of the current function. |
Tstep |
Step over instructions and into functions. |
|
|