WRDBG Debug Shell Reference documentation¶
- Getting Started
- hostShell Migration
- Porting Python Code
- Commands
- alias -- Define a new command that is an alias of an existing command
- attach -- Attach to a process or file outside of WRDBG
- awatch -- Set a watchpoint for an expression (read and write)
- backtrace -- Print backtrace of all stack frames
- break -- Set breakpoint at specified line or function
- condition -- Specify breakpoint number N to break only if COND is true
- continue -- Continue program being debugged
- define -- Define a new command name
- delete -- Delete some breakpoints or auto-display expressions
- detach -- Detach a process or file previously attached
- disable -- Disable some breakpoints
- disassemble - Disassemble a specified section of memory
- display -- Print value of expression EXP each time the program stops
- document -- Document a user-defined command
- down -- Select and print stack frame called by this one
- dprintf -- Set a dynamic printf at specified line or function
- enable -- Enable some breakpoints
- file -- Use FILE as program to be debugged
- finish -- Execute until selected stack frame returns
- frame -- Select and print a stack frame
- hbreak -- Set a hardware assisted breakpoint
- if -- Execute nested commands once IF the conditional expression is non zero.
- ignore -- Set ignore-count of breakpoint number N to COUNT
- inferior -- Use this command to switch between inferiors
- info -- Show things about the program being debugged.
- interrupt -- Interrupt the execution of the debugged program
- kill -- Kill execution of program being debugged
- list -- List specified function or line
- module -- Commands to handle modules
- next -- Step program being debugged
- nexti -- Step one instruction
- pathmap -- Path-mapping handling
- print -- Print value of expression EXP
- ps -- Display a tree of processes and tasks
- ptype -- Print definition of type TYPE
- python -- Evaluate a Python command
- quit -- Exit wrdbg
- rtp -- VxWorks RTP handling
- run -- Start debugged program
- rwatch -- Set a watchpoint for an expression (read)
- set -- Set data for the program being debugged
- shell -- Execute the rest of the line as a shell command
- show -- Show a WRDBG variable value
- step -- Step program until it reaches a different source line
- stepi -- Step one instruction exactly
- target -- Connect to a target machine
- task -- VxWorks tasks handling
- tbreak -- Set temporary breakpoint
- thread -- Use this command to switch between threads
- undisplay -- Cancel some expressions to be displayed when program stops
- until -- Execute until the program reaches a source line greater than the current
- up -- Select and print stack frame that called this one
- watch -- Set a watchpoint for an expression
- whatis -- Print data type of expression EXP
- while -- Execute nested commands WHILE the conditional expression is non zero
- x -- Examine memory