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

E

edit command, edit Command
enabling a breakpoint after an event occurs, Enabling a Breakpoint After an Event Occurs
error suppression
Suppressing Errors
Suppression of Last Error
default, Default Suppressions
examples, Suppressing Error Examples
types, Types of Suppression
establishing a new mapping from directory to directory
Mapping the Compile-time Directory to the Debug-time Directory
Finding Source and Object Files
evaluating
a function instantiation or a member function of a class template, print Expressions
an unnamed function argument, Evaluating Unnamed Arguments in C++ Programs
arrays
Evaluating Arrays
Evaluating Arrays
event counters
Using Event Counters
Using Event Counters
event handler
hiding, -hidden
retaining across debugging sessions, -perm
event handlers
creating, Creating Event Handlers
manipulating, Manipulating Event Handlers
setting, examples, Event Handler Examples
event_safety environment variable, Setting dbx Environment Variables
event-specific variables, Variables Valid for when Command
event specification modifiers
-count, -count n-count infinity
-disable, -disable
-hidden, -hidden
-if, -if condition
-in, -in function
-instr, -instr
-lwp, -lwp lwp_id
-perm, -perm
-resumeone
Using a Filter With a Conditional Event
-resumeone
-temp, -temp
-thread, -thread thread_id
event specifications
Setting Breakpoints at the Machine-Instruction Level
Event Handlers
Creating Event Handlers
Setting Event Specifications
access, access mode address-expression [, byte-size-expression]
at, at address_expression
attach, attach
change, change variable
cond, cond condition-expression
detach, detach
dlopen, dlopen [ lib-path ] dlclose [ lib-path ]
exit, exit exitcode
fault, fault fault
for breakpoint events, Breakpoint Event Specifications
for data change events, Data Change Event Specifications
for execution progress events, Execution Progress Event Specifications
for other types of events, Other Event Specifications
for system events, System Event Specifications
in, in function
inclass, inclass classname [-recurse | -norecurse]
infile, infile filename
infunction, infunction function
inmember, inmember function inmethod function
inmethod
inmember function inmethod function
inmember function inmethod function
inobject, inobject object-expression [-recurse | -norecurse]
keywords, defined, Setting Event Specifications
lastrites, lastrites
lwp_exit, lwp_exit
modifiers, Event Specification Modifiers
next, next
omp_barrier, Synchronization Events
omp_critical, Synchronization Events
omp_flush, Synchronization Events
omp_master, Other Events
omp_ordered, Synchronization Events
omp_single, Other Events
omp_task, Other Events
omp_taskwait, Synchronization Events
prog_gone, proc_gone
prog_new, prog_new
returns
returns
returns function
setting, Setting Event Specifications
sig, sig signal
step, step
stop, stop
sync, sync
syncrtld, syncrtld
sysin, sysin code | name
sysout, sysout code | name
thr_create
Understanding Thread Creation Activity
thr_create [thread_id]
thr_exit
Understanding Thread Creation Activity
thr_exit
throw
throw
throw type
throw -unhandled
throw -unexpected
timer, timer seconds
using predefined variables, Using Predefined Variables
events
ambiguity, Parsing and Ambiguity
child process interaction with, Interacting With Events
parsing, Parsing and Ambiguity
examine command
Types of Program Locations
Using the examine or x Command
examine Command
examining the contents of memory, Examining the Contents of Memory
exception command
exception [-d | +d] Command
exception Command
exception handling, Exception Handling in dbx
examples, Examples of Exception Handling
exceptions
floating point, determining cause of, Determining the Cause of the Exception
floating point, determining location of, Determining Where the Exception Occurred
in Fortran programs, locating, Locating Exceptions
of a specific type, catching, intercept [-all] [-x] [-set] [typename] Command
removing types from intercept list, unintercept [-all] [-x] [typename] Command
reporting where type would be caught, whocatches typename Command
type of, displaying, exception [-d | +d] Command
exec function, following, Following the exec Function
execution progress event specifications, Execution Progress Event Specifications
exists command, exists Command
exit event, exit exitcode
experiments, limiting the size of, Syntax
expressions
complex, Fortran, Showing Complex Expressions
displaying, Monitoring Expressions
interval, Fortran, Showing Interval Expressions
monitoring changes, Monitoring Expressions
monitoring the value of, Monitoring Expressions
printing the value of
Printing the Value of a Variable, Expression, or Identifier
print Command
turning off the display of, Turning Off Display (Undisplaying)