Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Commands With Identical Syntax and Functionality in Java Mode and Native Mode

The dbx commands listed in the following table have the same syntax and perform the same operations in Java mode as in native mode.

Command
Functionality
attach
Attaches dbx to a running process, stopping execution and putting the program under debugging control
cont
Causes the process to continue execution
dbxenv
List or set dbxenv variables
delete
Deletes breakpoints and other events
down
Moves down the call stack (away from main)
dump
Prints all variables local to a procedure or method
file
Lists or changes the current file
frame
Lists or changes the current stack frame number
handler
Modifies event handlers (breakpoints)
import
Imports commands from a dbx command library
line
Lists or changes the current line number
list
Displays lines of a source file
next
Steps one source line (steps over calls)
pathmap
Maps one path name to another for finding source files and the like
proc
Displays the status of the current process
prog
Manages programs being debugged and their attributes
quit
Exits dbx
rerun
Runs the program with no arguments
runargs
Changes the arguments of the target process
status
Lists the event handlers (breakpoints)
step up
Steps up and out of the current function or method
stepi
Steps one machine instruction (steps into calls)
up
Moves up the call stack (toward main)
whereami
Displays the current source line