Beruflich Dokumente
Kultur Dokumente
1 of 4
http://web.utk.edu/~prdaves/Computerhelp/dbx_commands.htm
A full list of dbx commands. If you have gotten here, I pity you! I only know a couple, so don't ask me how
they work!
adb
Execute an `adb-style' command or enter `adb' mode
assign
Assign a new value to a program variable
bsearch Search backward in the current source file
button
Define a new button for the WorkShop Custom Buttone window
call
Call a procedure
cancel
Cancel the current signal
catch
Catch the given signal(s)
check
Enable checking of memory access, leaks, or usage (RTC)
clear
Clear breakpoints
collector Collect performance data
commands List all built-in commands with one-line descriptions
cont
Cause the process to continue execution
dbxdebug Displays internal state of dbx (for dbx developers' use)
dbxenv
List or set dbx customization variables
debug
List or change the program being debugged
delete
Delete breakpoints and other events
detach
Release the target process from dbx's control
dis
Disassemble machine instructions
display
Evaluate and print expressions at every stopping point
document Add help information for a command or topic
down
Move down the call stack (away from `main')
dump
Print all variables local to a procedure
edit
Invoke $EDITOR on a source file (or display the source when using the GUI)
examine Show memory contents
exception Print the value of the current C++ exception
exists
Check for existence of a symbol name
file
List or change the current file
files
List file names that match a regular expression
fix
Recompile and relink a source file
fixed
List names of all `fixed' files
frame
List or change the current stack frame number
func
List or change the current function
funcs
List all function names that match a regular expression
handler Modify event handlers (enable, disable, etc.)
help
Provide more information about a command or topic
hide
Hide stack frames that match a regular expression
history
Manipulate the command history list
ignore
Don't catch the given signal(s)
import
Import commands from a dbx command library
intercept Intercept throws (C++ exceptions) of the given type. Can only be??
language List or change the current source language
line
List or change the current line number
list
Display lines of a source file
1/23/2015 2:40 PM
2 of 4
http://web.utk.edu/~prdaves/Computerhelp/dbx_commands.htm
listi
Display source and disassembled instructions
loadobject Print the name of the current loadobject
loadobjects List loadobject names
lwp
List or change the current LWP
lwps
List all LWPs in the process
mmapfile mmap a file that was mmapped during a core dump
module Read debugging information for one or more modules
modules List module names
next
Step one source line (stepping over calls)
nexti
Step one machine instruction (stepping over calls)
pathmap Map one pathname to another for finding source files, etc.
pop Remove one or more frames from the callstack
print Print the value of an expression
prog Manage programs being debugged and their attributes
quit Exit dbx
regs Print current value of registers
replay Replay debugging commands since last `run'
rerun Run the program with no arguments
restore Restore dbx to a previously saved state
rprint Print an expression using shell quoting rules
run Run the program with arguments
runargs Change the arguments of the target process
save Save commands to a file
scopes Print list of active scopes
search Search forward in the current source file
setenv Set an environment variable
showblock Show where the particular heap block was allocated from (RTC)
showleaks Report new memory leaks since last `showleaks' command (RTC)
showmemuse Show memory used since last `showmemuse' command (RTC)
source Execute commands from a given file
status List event handlers (breakpoints, etc.)
step Step one source line or statement (stepping into calls)
stepi Step one machine instruction (stepping into calls)
stop Set a source-level breakpoint
stopi Set a machine-level breakpoint
suppress Suppress reporting of memory errors (RTC)
thread List or change the current thread
threads List all threads
trace Show executed source lines, function calls, or variable changes
tracei Show machine instructions, function calls, or variable changes
unbutton Remove GUI buttons
uncheck Disable checking of memory access, leaks, or usage (RTC)
undisplay Undo `display' commands
unhide Undo `hide' commands
unintercept Undo `intercept' commands. Valid only with C++.
unsuppress Undo `suppress' commands (RTC)
up Move up the call stack (toward `main')
use List or change the directory search path
1/23/2015 2:40 PM
3 of 4
http://web.utk.edu/~prdaves/Computerhelp/dbx_commands.htm
4 of 4
http://web.utk.edu/~prdaves/Computerhelp/dbx_commands.htm
1/23/2015 2:40 PM