JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.3: Debugging a Program With dbx     Oracle Solaris Studio 12.3 Information Library
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.  Macros

D.  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

S

sample .dbxrc file, index iconInitialization File Sample
save command
index iconSaving and Restoring a Debugging Run
index iconsave Command
saving
debugging run to a file
index iconSaving and Restoring a Debugging Run
index iconSaving a Series of Debugging Runs as Checkpoints
series of debugging runs as checkpoints, index iconSaving a Series of Debugging Runs as Checkpoints
scope
changing the visiting, index iconChanging the Visiting Scope
current
index iconNavigating To Code
index iconVariables That Reflect the Current Scope
defined, index iconProgram Scope
lookup rules, relaxing, index iconRelaxing the Scope Lookup Rules
visiting, index iconVisiting Scope
changing, index iconChanging the Visiting Scope
components of, index iconComponents of the Visiting Scope
scope_global_enums environment variable, index iconSetting dbx Environment Variables
scope_look_aside environment variable
index iconSetting dbx Environment Variables
index iconRelaxing the Scope Lookup Rules
scope resolution operators, index iconQualifying Symbols With Scope Resolution Operators
scope resolution search path, index iconScope Resolution Search Path
scopes command, index iconscopes Command
search command, index iconsearch Command
segmentation fault
finding line number of, index iconUsing dbx to Locate Problems
Fortran, causes, index iconDebugging Segmentation Faults
generating, index iconUsing dbx to Locate Problems
selecting from a list of C++ ambiguous function names, index iconSelecting From a List of C++ Ambiguous Function Names
session, dbx
quitting, index iconQuitting Debugging
starting, index iconStarting a Debugging Session
session_log_file_name environment variable, index iconSetting dbx Environment Variables
setting
a trace, index iconSetting a Trace
breakpoints
at all instances of a function template, index iconstop infunction name Command
at a member function of a template class or at a template function, index iconstop in function Command
in all member functions a class, index iconSetting Breakpoints in All Member Functions of a Class
in dynamically loaded libraries, index iconSetting Breakpoints in Dynamically Loaded Libraries
in member functions of different classes, index iconSetting Breakpoints in Member Functions of Different Classes
in native (JNI) code, index iconSetting Breakpoints in Native (JNI) Code
in objects, index iconSetting Breakpoints in Objects
on Java methods, index iconSetting Breakpoints on Java Methods
with filters that contain function calls, index iconUsing a Filter With a Conditional Event
dbx environment variables with the dbxenv command, index iconSetting dbx Environment Variables
filters on breakpoints, index iconSetting Filters on Breakpoints
multiple breakpoints in nonmember functions, index iconSetting Multiple Breakpoints in Nonmember Functions
shared libraries
compiling for dbx, index iconShared Libraries Require the -g Option for Full dbx Support
setting breakpoints in, index iconSetting Breakpoints in Shared Libraries
shared objects
fixing, index iconHow Fix and Continue Operates
using fix and continue with, index iconFix and Continue
showblock command
index iconTurning On Memory Use and Memory Leak Checking
index iconshowblock Command
showleaks command
default output of, index iconFixing Memory Leaks
error limit for, index iconLimiting the Number of Errors Reported
report resulting from, index iconPossible Leaks
syntax, index iconshowleaks Command
using to ask for a leaks report, index iconGenerating a Leak Report
showmemuse command
index iconUsing Memory Use Checking
index iconshowmemuse Command
show_static_members environment variable, index iconSetting dbx Environment Variables
sig event, index iconsig signal
signals
cancelling, index iconUnderstanding Signal Events
catching, index iconCatching Signals
changing default lists, index iconChanging the Default Signal Lists
forwarding, index iconUnderstanding Signal Events
FPE, trapping, index iconTrapping the FPE Signal (Solaris Platforms Only)
handling automatically, index iconAutomatically Handling Signals
ignoring, index iconCatching Signals
listing those currently being ignored, index iconCatching Signals
listing those currently being trapped, index iconCatching Signals
names that dbx accepts, index iconCatching Signals
sending in a program, index iconSending a Signal to a Program
single stepping
at the machine-instruction level, index iconSingle Stepping at the Machine-Instruction Level
through a program, index iconSingle Stepping
slicing
arrays, index iconUsing Slices
C and C++ arrays, index iconArray Slicing Syntax for C and C++
Fortran arrays, index iconArray Slicing Syntax for Fortran
source command, index iconsource Command
source files, finding
index iconMapping the Compile-time Directory to the Debug-time Directory
index iconFinding Source and Object Files
source listing, printing, index iconPrinting a Source Listing
SPARC registers, index iconSPARC Register Information
specifying a path for class files that use custom class loaders, index iconSpecifying a Path for Class Files That Use Custom Class Loaders
stack_find_source environment variable
index iconSetting dbx Environment Variables
index iconChanging the Visiting Scope
stack frame, defined, index iconUsing the Call Stack
stack_max_size environment variable, index iconSetting dbx Environment Variables
stack trace, index iconTracing Calls
displaying, index iconDisplaying and Reading a Stack Trace
example
index iconDisplaying and Reading a Stack Trace
index iconDisplaying and Reading a Stack Trace
reading, index iconDisplaying and Reading a Stack Trace
using on OpenMP code, index iconUsing Stack Traces
stack_verbose environment variable, index iconSetting dbx Environment Variables
starting dbx, index iconStarting dbx or dbxtool and Loading Your Program
starting dbxtool, index iconStarting dbx or dbxtool and Loading Your Program
startup options, index iconOptions
status command, index iconstatus Command
step_abflow environment variable, index iconSetting dbx Environment Variables
step command
index iconStepping Through a Program
index iconException Handling in dbx
index iconstep Command
step event, index iconstep
step_events environment variable
index iconSetting dbx Environment Variables
index iconEfficiency Considerations
step_granularity environment variable
index iconSetting dbx Environment Variables
index iconSingle Stepping
stepi command
index iconSingle Stepping at the Machine-Instruction Level
index iconstepi Command
stepping through a program
index iconStepping Through Your Program
index iconStepping Through a Program
step to command
index iconStepping Through Your Program
index iconStepping Through a Program
index iconNative Mode Syntax
step up command
index iconStepping Through a Program
index iconNative Mode Syntax
stop at command
index iconSetting a stop Breakpoint at a Line of Source Code
index iconSetting a stop Breakpoint in a Function
stop change command, index iconStopping Execution When Variables Change
stop command, index iconstop in function Command
syntax, index iconstop Command
using to set breakpoint at all member functions of a C++ template class, index iconstop inclass classname Command
using to set breakpoints at all instances of a function template, index iconstop infunction name Command
using to stop in all member functions of a C++ template class, index iconstop inclass classname Command
stop event, index iconstop
stopi command
index iconSetting Breakpoints at the Machine-Instruction Level
index iconstopi Command
stop inclass command, index iconSetting Breakpoints in All Member Functions of a Class
stop inmember command, index iconSetting Breakpoints in Member Functions of Different Classes
stopping
a process with Ctrl+C, index iconUsing Ctrl+C to Stop a Process
in all member functions of a template class, index iconstop inclass classname Command
process execution, index iconStopping a Process Execution
program execution
if a conditional statement evaluates to true, index iconStopping Execution on a Condition
if the value of a specified variable has changed, index iconStopping Execution When Variables Change
striding across slices of arrays, index iconUsing Strides
stripped programs, index iconCompletely Stripped Programs
suppress command
syntax, index iconsuppress Command
using to limit reporting of runtime checking errors, index iconRunning Your Program
using to list errors being suppressed in files not compiled for debugging, index iconDefault Suppressions
using to manage runtime checking errors, index iconUsing Suppression to Manage Errors
using to suppress runtime checking errors, index iconSuppressing Errors
suppression of last error, index iconSuppression of Last Error
suppress_startup_message environment variable, index iconSetting dbx Environment Variables
symbol_info_compression environment variable, index iconSetting dbx Environment Variables
symbol names, qualifying scope, index iconQualifying Symbols With Scope Resolution Operators
symbols
choosing among multiple occurrences of, index iconChoosing Among Multiple Occurrences
determining which dbx uses, index iconDetermining Which Symbol dbx Uses
printing a list of occurrences, index iconPrinting a List of Occurrences of a Symbol
sync command, index iconsync Command
sync event, index iconsync
syncrtld event, index iconsyncrtld
syncs command, index iconsyncs Command
sysin event, index iconsysin code | name
sysout event, index iconsysout code | name
system event specifications, index iconSystem Event Specifications