JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2: Debugging a Program With dbx
search filter icon
search icon

Document Information

Preface

1.  Getting Started With dbx

2.  Starting dbx

3.  Customizing dbx

4.  Viewing and Navigating To Code

5.  Controlling Program Execution

6.  Setting Breakpoints and Traces

7.  Using the Call Stack

8.  Evaluating and Displaying Data

9.  Using Runtime Checking

10.  Fixing and Continuing

11.  Debugging Multithreaded Applications

12.  Debugging Child Processes

13.  Debugging OpenMP Programs

14.  Working With Signals

15.  Debugging C++ With dbx

16.  Debugging Fortran Using dbx

17.  Debugging a Java Application With dbx

18.  Debugging at the Machine-Instruction Level

19.  Using dbx With the Korn Shell

20.  Debugging Shared Libraries

A.  Modifying a Program State

B.  Event Management

C.  Command Reference

Index

Numbers and Symbols

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

P

pathmap command
Finding Source and Object Files
Finding Source and Object Files
To Fix Your File
pathmap Command
using to map the compile-time directory to the debug-time directory, Mapping the Compile-time Directory to the Debug-time Directory
-perm event specification modifier, -perm
pointers
dereferencing, Dereferencing Pointers
printing, Pointer to Fortran 95 Derived Type
pop_auto_destruct environment variable, Setting dbx Environment Variables
pop command
syntax, pop Command
using to change the current stack frame, Changing the Visiting Scope
using to pop frames from the call stack, pop Command
using to pop one frame from the call stack, Changing Variables After Fixing
using to remove frames from the call stack, Popping the Call Stack
popping
one frame of the call stack, Changing Variables After Fixing
the call stack
Popping the Call Stack
Changing a Function Currently Being Executed
Changing a Function Presently on the Stack
pop Command
predefined variables for event specification, Using Predefined Variables
preloading librtc.so, Using Runtime Checking on an Attached Process
pretty-printing, using, Using Pretty-Printing
print command
syntax, print Command
syntax to slice a C or C++ array, Array Slicing Syntax for C and C++
syntax to slice a Fortran array, Array Slicing Syntax for Fortran
using to dereference a pointer, Dereferencing Pointers
using to evaluate a function instantiation or a member function of a class template, print Expressions
using to evaluate a variable or expression, Printing the Value of a Variable, Expression, or Identifier
using to print the value of an expression, print Command
printing
a description of the current loop, Printing Region and Thread Information
a description of the current parallel region, Printing Region and Thread Information
a description of the current task region, Printing Region and Thread Information
a list of all class and function template instantiations
Debugging With C++ Templates
whereis name Command
a list of occurrences of a symbol, Printing a List of Occurrences of a Symbol
a pointer, Pointer to Fortran 95 Derived Type
a source listing, Printing a Source Listing
all the threads on the current team, Printing Region and Thread Information
arrays, Evaluating Arrays
data member, Looking Up Definitions of Variables, Members, and Functions
field type, Looking Up Definitions of Variables, Members, and Functions
list of all known threads, Viewing the Threads List
list of threads normally not printed (zombies), Viewing the Threads List
member functions, Looking Up Definitions of Variables, Members, and Functions
shared, private, and thread private variables in OpenMP code, Printing Variables and Expressions
the declaration of a type or C++ class, Looking Up Definitions of Types and Classes
the name of the current module, Listing Debugging Information for Modules
the source listing for the specified function instantiation, list Expressions
the value of a variable or expression, Printing the Value of a Variable, Expression, or Identifier
the value of all the machine-level registers, Using the regs Command
the value of an expression, print Command
values of function template instantiations, Debugging With C++ Templates
variable type, Looking Up Definitions of Variables, Members, and Functions
proc command, proc Command
proc_exclusive_attach environment variable, Setting dbx Environment Variables
proc_gone event, proc_gone
procedure, calling, call Command
procedure linkage tables, Procedure Linkage Tables
process
attached, using runtime checking on, Using Runtime Checking on an Attached Process
child
attaching dbx to, Attaching to Child Processes
using runtime checking on, Using Runtime Checking on a Child Process
detaching from dbx
Detaching a Process From dbx
Detaching dbx From a Process
detaching from dbx and leaving in a stopped state, Detaching dbx From a Process
running, attaching dbx to
Attaching dbx to a Running Process
Attaching dbx to a Running Process
stopping execution, Stopping a Process Execution
stopping with Ctrl+C, Using Ctrl+C to Stop a Process
process control commands, definition, Controlling Program Execution
prog command, prog Command
prog_new event, prog_new
program
continuing execution of, Continuing Execution of a Program
after fixing, Continuing After Fixing
at a specified line, cont at Command
fixing
Fixing Your Program
fix Command
killing
Killing a Program Without Terminating the Session
Killing a Program Without Terminating the Session
multithreaded
debugging, Debugging Multithreaded Applications
resuming execution of, Resuming Execution
resuming execution of at a specific line, To Resume Program Execution at a Specific Line
running, Running a Program
under dbx, impacts of, Impacts of Running a Program Under dbx
with runtime checking turned on, Running Your Program
single stepping through, Single Stepping
status, checking, Checking Program Status
stepping through, Stepping Through a Program
stopping execution
if a conditional statement evaluates to true, Stopping Execution on a Condition
if the value of a specified variable has changed, Stopping Execution When Variables Change
stripped, Completely Stripped Programs