Go to main content
Index
Numbers and Symbols
- -count event specification modifier
-count
n, -count
infinity Modifier
- -disable event specification modifier
-disable Modifier
- -g compiler option
Compiling a Program for Debugging
- -hidden event specification modifier
-hidden Modifier
- -if event specification modifier
-if Modifier
- -in event specification modifier
-in Modifier
- -instr event specification modifier
-instr Modifier
- -lwp event specification modifier
-lwp Modifier
- -perm event specification modifier
-perm Modifier
- -resumeone event specification modifier
-resumeone Modifier
Filters and Multithreading
- -temp event specification modifier
-temp Modifier
- -thread event specification modifier
-thread Modifier
- .dbxrc file
Using the dbx Initialization File- creating
Creating a .dbxrc File
- sample
Initialization File Sample
- use at dbx startup
Using the dbx Initialization File
dbx Startup Sequence
- :: (double-colon) C++ operator
C++ Double-Colon Scope Resolution Operator
A
- access checking
Using Access Checking
- access event
access Event Specification
- address
- current
Types of Program Locations
- display format
Using Formats
- examining contents at
Examining the Contents of Memory
- examples
Using Addresses
- examples of using
Examples of Using an Address
- adi assign command
- native mode syntax
adi assign Command
- adi examine command
- native mode syntax
adi examine Command
- adjusting default dbx settings
Customizing dbx
- alias command
Creating Your Own dbx Commands
- AMD64 registers
AMD64 Register Information
- ancillary objects
Ancillary Files (Oracle Solaris Only)
- array_bounds_check dbxenv variable
dbx Environment Variables
- arrays
- bounds, exceeding
Debugging Segmentation Faults
- evaluating
Evaluating Arrays
Evaluating Arrays
- Fortran
Working With Arrays
- Fortran allocatable
Fortran Allocatable Arrays
- slicing
Using Slices
Evaluating Arrays
- syntax for C and C++
Array Slicing Syntax for C and C++
- syntax for Fortran
Array Slicing Syntax for Fortran
- striding
Using Strides
Evaluating Arrays
- assembly language debugging
Examining the Contents of Memory
- assign command
- syntax
assign Command
- using to assign a value to a variable
assign Command
Assigning a Value to a Variable
- assigning a value to a variable
assign Command
Assigning a Value to a Variable
- at event
at Event Specification
- attach command
attach Command
Attaching dbx to a Running Process
Changing the Visiting Scope
- attach event
attach Event Specification
- attached process, using runtime checking on
Using Runtime Checking on an Attached Process
- attaching
- dbx to a new process while debugging an existing process
Attaching dbx to a Running Process
- dbx to a running child process
Attaching to Child Processes
- dbx to a running Java process
To Attach to a Running Java Process
- dbx to a running process
Attaching dbx to a Running Process
Using the Process ID
- when dbx is not already running
Attaching dbx to a Running Process
B
- backquote operator
Backquote Operator
- bcheck command
bcheck Syntax- examples
bcheck Examples
- syntax
bcheck Syntax
- bind command
Rebinding of Editing Functions
- block local operator
Block Local Operator
- breakpoints
- clearing
Listing and Deleting Breakpoints
- defined
Setting Breakpoints and Traces
Setting Breakpoints
- deleting, using handler ID
Deleting Specific Breakpoints Using Handler ID Numbers
- disabling
Enabling and Disabling Breakpoints
- enabling
Enabling and Disabling Breakpoints
- enabling after event occurs
Enabling a Breakpoint After an Event Occurs
- event efficiency
Efficiency Considerations
- event specifications
Breakpoint Event Specifications
- filters
Setting Filters on Breakpoints- using return value of a function call
Qualifying Breakpoints With Conditional Filters
- In Function
Setting a Breakpoint in a Function
- In Object
Setting Breakpoints in Objects
- listing
Listing Breakpoints and Traces
Listing and Deleting Breakpoints
- multiple, setting in nonmember functions
Setting Multiple Breakpoints in Nonmember Functions
- On Value Change
Stopping Execution When Variables Change
- overview
Setting Breakpoints
- setting
- at a line
Setting a Breakpoint at a Line of Source Code
Setting Breakpoints
- at a member function of a template class or at a template function
stop in Command
- at all instances of a function template
stop infunction Command
- at an address
Setting a Breakpoint at an Address
- at class template instantiations
stop inclass Command
Debugging With C++ Templates
- at function template instantiations
stop inclass Command
Debugging With C++ Templates
- filters on
Setting Filters on Breakpoints
- in a function
Setting a Breakpoint in a Function
Setting Breakpoints
- in all member functions of a class
Setting Breakpoints in All Member Functions of a Class
- in an explicitly loaded library
Setting a Breakpoint in an Explicitly Loaded Library
- in dynamically loaded libraries
Setting Breakpoints in Dynamically Loaded Libraries
- in member functions of different classes
Setting Breakpoints in Member Functions of Different Classes
- in native (JNI) code
Setting Breakpoints in Native (JNI) Code
- in objects
Setting Breakpoints in Objects
- in shared libraries
Setting Breakpoints in Shared Libraries
- machine level
Setting Breakpoints at the Machine-Instruction Level
- multiple breaks in C++ code
Setting Breakpoints in Member Functions of Different Classes
- on Java methods
Setting Breakpoints on Java Methods
- with filters that contain function calls
Filters and Multithreading
- stop type
Setting Breakpoints- determining when to set
Navigating To Code
- trace type
Setting Breakpoints
- when type
Setting Breakpoints- setting at a line
Executing dbx Commands at a Line
- bsearch command
bsearch Command
C
- C
- debugging application that embeds a Java application
Debugging a C Application or C++ Application That Embeds a Java
Application
- source files, specifying the location of
Specifying the Location of Your C Source Files or
C++ Source Files
- C++
- ambiguous or overloaded functions
Selecting From a List of C++ Ambiguous Function Names
- backquote operator
Backquote Operator
- class
- declarations, looking up
Viewing Variables, Members, Types, and Classes
- definition, looking up
Looking Up Definitions of Types and Classes
- displaying all the data members directly defined by
Printing C++ Pointers
- displaying all the data members inherited from
Printing C++ Pointers
- printing the declaration of
Looking Up Definitions of Types and Classes
- seeing inherited members
Looking Up Definitions of Types and Classes
- viewing
Viewing Variables, Members, Types, and Classes
- compiling with the -g option
Compiling With the g Option
- compiling with the -g0 option
Compiling With the g Option
- debugging application that embeds a Java application
Debugging a C Application or C++ Application That Embeds a Java
Application
- double-colon scope resolution operator
C++ Double-Colon Scope Resolution Operator
- exception handling
Exception Handling in dbx
- function template instantiations, listing
Looking Up Definitions of Variables, Members, and
Functions
- inherited members
Looking Up Definitions of Types and Classes
- mangled names
Linker Names
- object pointer types
Printing C++ Pointers
- printing
Printing C++ Pointers
- setting multiple breakpoints
Setting Breakpoints in Member Functions of Different Classes
Setting Multiple Breakpoints in C++ Programs
- source files, specifying the location of
Specifying the Location of Your C Source Files or
C++ Source Files
- template debugging
Debugging With C++ Templates
- template definitions
- displaying
Looking Up Definitions of Variables, Members, and
Functions
- tracing member functions
Setting a Trace
- unnamed arguments
Evaluating Unnamed Arguments in C++ Programs
- using dbx with
Using dbx With C++
- call safety
Call Safety
- call stack
Using the Call Stack- deleting
- all frame filters
Hiding Stack Frames
- frames
Hiding Stack Frames
- finding your place on
Finding Your Place on the Stack
- frame, defined
Using the Call Stack
- hiding frames
Hiding Stack Frames
- looking at
Looking at the Call Stack
- moving
- down
Moving Down the Stack
- to a specific frame in
Moving to a Specific Frame
- up
Moving Up the Stack
- popping
pop Command
Popping the Call Stack
- removing the stopped-in function from
Popping the Call Stack
- walking
Walking the Stack and Returning Home
Walking the Call Stack to Navigate To Code
- call command
- safety
Call Safety
- syntax
call Command
- using to call a function
Calling a Function
- using to call a function explicitly
Calling a Function
- using to call a procedure
call Command
Calling a Function
- using to explicitly call a function instantiation or member function of a class template
call Command
- calling
- function
Calling a Function
Calling a Function
- function instantiation or member function of a class template
call Command
- member template functions
Debugging With C++ Templates
- procedure
call Command
- cancel command
cancel Command
- catch blocks
Exception Handling in dbx
- catch signal list
Catching Signals
- catch command
catch Command
Trapping the FPE Signal (Oracle Solaris Only)
Catching Signals
- catching exceptions of a specific type
intercept Command
- change event
change Event Specification
- changing
- default signal lists
Changing the Default Signal Lists
- check command
check Command
Enabling All Runtime Checking
Enabling Memory Access Checking
Finding Memory Access Problems and Memory Leaks
- –access option
access Option
- –all option
all Option
- combining leaks
Combining Leaks
- –leaks option
leaks Option
- –memuse option
memuse Option
- checkpoints, saving a series of debugging runs as
Saving a Series of Debugging Runs as Checkpoints
- child process
- attaching dbx to
Attaching to Child Processes
- debugging
Attaching to Child Processes
- interacting with events
Interacting With Events
- using runtime checking on
Using Runtime Checking on a Child Process
- choosing among multiple occurrences of a symbol
Choosing Among Multiple Occurrences
- class template instantiations, printing a list of
Debugging With C++ Templates
- class template instantiations, printing a list of
whereis Command
- classes
- displaying all the data members directly defined by
Printing C++ Pointers
- displaying all the data members inherited from
Printing C++ Pointers
- looking up declarations of
Viewing Variables, Members, Types, and Classes
- looking up definitions of
Looking Up Definitions of Types and Classes
- printing the declarations of
Looking Up Definitions of Types and Classes
- seeing inherited members
Looking Up Definitions of Types and Classes
- viewing
Viewing Variables, Members, Types, and Classes
- CLASSPATHX dbxenv variable
Environment Variables for Java Debugging
dbx Environment Variables
- clear command
clear Command
- clearing breakpoints
Listing and Deleting Breakpoints
- collector hwprofile command
collector
hwprofile
Command
- collector archive command
collector archive Command
- collector dbxsample command
collector dbxsample Command
- collector disable command
collector disable Command
- collector enable command
collector enable Command
- collector heaptrace command
collector heaptrace Command
- collector limit command
collector limit Command
- collector pause command
collector pause Command
- collector profile command
collector profile Command
- collector resume command
collector resume Command
- collector sample command
collector sample Command
- collector show command
collector show Command
- collector status command
collector status Command
- collector store command
collector store Command
- collector synctrace command
collector synctrace Command
- collector tha command
collector tha Command
- collector version command
collector version Command
- collector command
collector Command
- commands
Command Reference- dbxenv
Setting dbxenv Variables
- debug
- using to attach to a child process
Attaching to Child Processes
- handling exceptions
Commands for Handling Exceptions
- kill
Checking for Leaks
- print
- using to dereference a pointer
Dereferencing Pointers
- process control
Controlling Program Execution
- setting startup properties
Setting Startup Properties
- stop
- using to set breakpoint at all member functions of a C++ template class
stop inclass Command
- that alter the state of your program
Commands That Alter the State of the Program
- thread
Viewing the Context of Another Thread
- when
Event Handlers
- compiling
- code for debugging
Compiling Your Code for Debugging
- optimized code
Compiling With the g Option
- with the –g0 option
Compiling a Program for Debugging
- with the –g option
Compiling a Program for Debugging
- cond event
cond Event Specification
- cont command
- continuing execution of your program with
Running Your Program
Continuing Execution of a Program
- syntax
cont Command
- using to continue execution of your program from a different line
cont at Command
Continuing Execution of a Program
- using to resume execution of a multithreaded program
Resuming Execution
- continuing execution of a program
Continuing Execution of a Program- at a specified line
cont at Command
Continuing Execution of a Program
- core file
- core file truncation
If Your Core File Is Truncated
- debugging
Debugging a Core File
Examining a Core File
- debugging mismatched
Debugging a Mismatched Core File
- examining
Examining a Core File
- using debug command to debug a core file
Debugging a Core File in the Same Operating Environment
- core_lo_pathmap dbxenv variable
dbx Environment Variables
- count
- using
Using Count
- creating
- a .dbxrc file
Creating a .dbxrc File
- event handlers
Creating Event Handlers
- creating a separate debug file
How to Create a Separate Debug File
- current address
Types of Program Locations
- current procedure and file
Current Procedure and File
- customizing dbx
Customizing dbx
D
- dalias command
dalias Command
- data change event specifications
Data Change Event Specifications
- data member, printing
Looking Up Definitions of Variables, Members, and
Functions
- dbx
- attaching to a process
Attaching dbx to a Running Process
- customizing
Customizing dbx
- detaching a process from
Detaching a Process From dbx
- detaching from a process
Detaching dbx From a Process
- quitting
Quitting Debugging
Quitting dbx
- starting
Starting a Debugging Session
Starting dbx or dbxtool and
Loading Your Program
- startup options
Options
- with core file name
Debugging a Core File
- with process ID only
Using the Process ID
- dbx dbxenv variables
- output_pretty_print_fallback
dbx Environment Variables
- output_pretty_print_mode
dbx Environment Variables
- dbx command
dbx Command
Using the Process ID
Starting a Debugging Session
- dbx commands
- at the machine-instruction level
Using dbx at the Machine-Instruction Level
- creating your own
Creating Your Own dbx Commands
- differences between Korn shell and
Using dbx With the Korn Shell
- Java expression evaluation in
Java Expression Evaluation in dbx Commands
- process control
Controlling Program Execution
- setting startup properties
Setting Startup Properties
- static and dynamic information used by when debugging Java code
Static and Dynamic Information Used by dbx Commands
- that alter the state of your program
Commands That Alter the State of the Program
- using in Java mode
Using dbx Commands in Java Mode
- valid only in Java mode
Commands Valid Only in Java Mode
- with different syntax in Java mode
Commands With Different Syntax in Java Mode
- with identical syntax and functionality in Java mode and native mode
Commands With Identical Syntax and Functionality in Java Mode and Native
Mode
- dbx modes for debugging Java code
Specifying 64-bit JVM Software- switching from Java or JNI to native mode
Switching From Java or JNI Mode to Native Mode
- switching modes when you interrupt execution
Switching Modes When You Interrupt Execution
- dbx online help
Accessing dbx Online Help
- dbxenv variable
dbx Environment Variables
- dbxenv command
dbxenv Command
Setting dbxenv Variables
Setting dbx Environment Variables
- dbxenv variables
Setting dbxenv Variables
Setting dbxenv Variables
- descriptions of
dbx Environment Variables
- follow_fork_mode
Following the fork Function
- for Java debugging
Environment Variables for Java Debugging
- Korn shell, and
dbxenv Variables and the Korn Shell
- setting
Setting dbxenv Variables
- setting with the dbxenv command
Setting dbxenv Variables
- dbxrc file, use at dbx startup
Using the dbx Initialization File
- dbxrc file, use at dbx startup
dbx Startup Sequence
- dbxtool
Starting a Debugging Session
Starting a Debugging Session
Getting Started With dbx
- debug command
Changing the Visiting Scope- syntax
debug Command
- using to attach dbx to a running process
Attaching dbx to a Running Process
- using to attach to a child process
Attaching to Child Processes
- using to debug a core file
Debugging a Core File in the Same Operating Environment
- debug_file_directory dbxenv variable
dbx Environment Variables
- debugging
- assembly language
Examining the Contents of Memory
- child processes
Attaching to Child Processes
- code compiled without -g option
Code Compiled Without the -g Option
- core file
Debugging a Core File
Examining a Core File
- creating a separate debug file
How to Create a Separate Debug File
- machine-instruction level
Stepping and Tracing at Machine-Instruction Level
Debugging at the Machine-Instruction Level
- mismatched core file
Debugging a Mismatched Core File
- multithreaded programs
Debugging Multithreaded Applications
- optimized code
Debugging Optimized Code
- replaying a saved debugging run
Saving and Restoring Using replay
- saving a run
Saving and Restoring a Debugging Run
- using a separate debug file
Using a Separate Debug File- ancillary objects
Ancillary Files (Oracle Solaris Only)
- debugging application that embeds a Java application
- C
Debugging a C Application or C++ Application That Embeds a Java
Application
- C++
Debugging a C Application or C++ Application That Embeds a Java
Application
- debugging information
- reading in
Listing Debugging Information for Modules
Listing Debugging Information for Modules
- debugging run
- saved
- replaying
Saving and Restoring Using replay
- restoring
Restoring a Saved Run
- saving
Saving and Restoring a Debugging Run
- declarations, looking up (displaying)
Viewing Variables, Members, Types, and Classes
- delete command
delete Command
- deleting
- all call stack frame filters
Hiding Stack Frames
- call stack frames
Hiding Stack Frames
- specific breakpoints using handler IDs
Deleting Specific Breakpoints Using Handler ID Numbers
- dereferencing a pointer
Dereferencing Pointers
- detach command
detach Command
Detaching a Process From dbx
- detach event
detach Event Specification
- detaching
- a process from dbx
Detaching dbx From a Process
Detaching a Process From dbx
- a process from dbx and leaving it in a stopped state
Detaching dbx From a Process
- determining
- at symbol dbx uses
Determining Which Symbol dbx Uses
- cause of floating-point exception (FPE)
Determining the Cause of the Exception
- granularity of source line stepping
Controlling Single Stepping Behavior
- location of floating-point exception (FPE)
Determining Where the Exception Occurred
- number of instructions executed
Determining the Number of Instructions Executed by a Source Line
- number of lines executed
Determining the Number of Lines Executed
- where your program is crashing
Examining a Core File
- dis command
dis Command
Using the dis Command
Types of Program Locations
- disabling
- runtime checking
Disabling Runtime Checking
- disassembler_version dbxenv variable
dbx Environment Variables
- display command
display Command
Monitoring Expressions
Monitoring Expressions
- displaying
- all the data members directly defined by a class
Printing C++ Pointers
- all the data members inherited from a base class
Printing C++ Pointers
- declarations
Viewing Variables, Members, Types, and Classes
- definitions of templates and instances
whatis Command
Debugging With C++ Templates
- inherited members
Looking Up Definitions of Types and Classes
- source code for function template instantiations
Debugging With C++ Templates
- stack trace
Displaying and Reading a Stack Trace
- symbols, occurrences of
Printing a List of Occurrences of a Symbol
- template definitions
Looking Up Definitions of Variables, Members, and
Functions
- type of an exception
exception Command
- unnamed function argument
Evaluating Unnamed Arguments in C++ Programs
- variable type
Looking Up Definitions of Variables, Members, and
Functions
- variables and expressions
Monitoring Expressions
- dlclose event
- valid variables
Variable Valid for dlopen and dlclose
Events
- dlopen event
dlopen and
dlclose Event Specification- valid variables
Variable Valid for dlopen and dlclose
Events
- down command
down Command
Moving Down the Stack
Changing the Visiting Scope
- dump command
dump Command- using on OpenMP code
Using the dump Command
- dynamic linker
Dynamic Linker
E
- edit command
edit Command
- enabling
- a breakpoint after an event occurs
Enabling a Breakpoint After an Event Occurs
- memory access checking
Enabling All Runtime Checking
Enabling Memory Access Checking
Finding Memory Access Problems and Memory Leaks
- memory leak checking
Enabling All Runtime Checking
Enabling Memory Use and Memory Leak Checking
Finding Memory Access Problems and Memory Leaks
- memory use checking
Enabling All Runtime Checking
Enabling Memory Use and Memory Leak Checking
Finding Memory Access Problems and Memory Leaks
- error suppression
Suppression of Last Error
Suppressing Errors
- default
Default Suppressions
- examples
Suppressing Error Examples
- scope
Types of Suppression
- types
Types of Suppression
- establishing a new mapping from directory to directory
Finding Source and Object Files
Mapping the Compile-Time Directory to the Debug-Time Directory
- evaluating
- arrays
Evaluating Arrays
Evaluating Arrays
- function instantiation or member function of a class template
print Expressions
- unnamed function argument
Evaluating Unnamed Arguments in C++ Programs
- event counters
Using Event Counters
Using Event Counters
- event handler
- hiding
-hidden Modifier
- retaining across debugging sessions
-perm Modifier
- event handlers
- creating
Creating Event Handlers
- manipulating
Manipulating Event Handlers
- setting, examples
Event Handler Examples
- event management
Event Management
Event Management
- event specification modifiers, descriptions of
Event Specification Modifiers
- event specifications
Setting Event Specifications
Creating Event Handlers
Event Handlers
- for breakpoint events
Breakpoint Event Specifications
- for data change events
Data Change Event Specifications
- for execution progress events
Execution Progress Event Specifications
- for OpenMP code
Using Events- for synchronization
Synchronization Events
- other
Other Events
- for other types of events
Other Event Specifications
- for synchronization
Synchronization Events
- for system events
System Event Specifications
- for thread tracking
Tracked Thread Event Specifications
- keywords, defined
Setting Event Specifications
- machine-instruction level
Setting Breakpoints at the Machine-Instruction Level
- modifiers
Event Specification Modifiers
- setting
Setting Event Specifications
- using predefined variables
Using Predefined Variables
- event-specific variables
Variables Valid for when Command
- event_safety dbxenv variable
dbx Environment Variables
- events
- ambiguity
Parsing and Ambiguity
- child process interaction with
Interacting With Events
- parsing
Parsing and Ambiguity
- examine command
examine Command
Using the examine or x Command
Types of Program Locations
- examining the contents of memory
Examining the Contents of Memory
- exception handling
Exception Handling in dbx- examples
Examples of Exception Handling
- exception command
exception Command
exception Command
- 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 Command
- removing types from intercept list
unintercept Command
- reporting where type would be caught
whocatches Command
- type of, displaying
exception Command
- exec function, following
Following the exec Function
- executables
- separate debugging information
Debugging Information in Object Files and Executables
- execution progress event specifications
Execution Progress Event Specifications
- exists command
exists Command
- exit event
exit Event Specification- valid variables
Variable Valid for exit Event
- experiments
- limiting the size of
Syntax
- expressions
- displaying
Monitoring Expressions
- Fortran
- complex
Showing Complex Expressions
- interval
Showing Interval Expressions
- monitoring changes
Monitoring Expressions
- monitoring the value of
Monitoring Expressions
- printing the value of
print Command
Printing the Value of a Variable, Expression, or Identifier
- stop the display of
Stop the Display (Undisplaying)
F
- fault event
fault Event Specification
- fflush(stdout), after dbx calls
Calling a Function
- field type
- displaying
Looking Up Definitions of Variables, Members, and
Functions
- printing
Looking Up Definitions of Variables, Members, and
Functions
- file command
file Command
Changing the Visiting Scope
Types of Program Locations
Navigating To a File
- files
- finding
Finding Source and Object Files
Mapping the Compile-Time Directory to the Debug-Time Directory
- location of
Finding Source and Object Files
- navigating to
Navigating To a File
- qualifying name
Qualifying Symbols With Scope Resolution Operators
- files command
files Command
- filter_max_length dbxenv variable
dbx Environment Variables
- finding
- object files
Mapping the Compile-Time Directory to the Debug-Time Directory
- place on the call stack
Finding Your Place on the Stack
- source files
Finding Source and Object Files
Mapping the Compile-Time Directory to the Debug-Time Directory
- fix and continue
- using with runtime checking
Using Fix and Continue With Runtime Checking
- fix command
fix Command
fix Command
- fix_verbose dbxenv variable
dbx Environment Variables
- fixed command
fixed Command
- fixing
- program
fix Command
- floating-point exception (FPE)
- catching
Catch Floating-Point Exceptions
- determining cause of
Determining the Cause of the Exception
- determining location of
Determining Where the Exception Occurred
- follow_fork_inherit dbxenv variable
dbx Environment Variables
- follow_fork_inherit dbxenv variable
Interacting With Events
- follow_fork_mode dbxenv variable
dbx Environment Variables
- follow_fork_mode dbxenv variable
Following the fork Function
Using Runtime Checking on a Child Process
- follow_fork_mode_inner dbxenv variable
dbx Environment Variables
- fork function, following
Following the fork Function
- Fortran
- allocatable arrays
Fortran Allocatable Arrays
- allocatable scalar type
Allocatable Scalar Type
- array slicing syntax for
Array Slicing Syntax for Fortran
- case sensitivity
Uppercase Letters
- complex expressions
Showing Complex Expressions
- derived types
Viewing Fortran Derived Types
- interval expressions
Showing Interval Expressions
- intrinsic functions
Showing Intrinsic Functions
- logical operators
Showing Logical Operators
- Object Oriented
Object Oriented Fortran
- sample dbx session
Sample dbx Session
- structures
Viewing Fortran Derived Types
- fortran_modules command
fortran_modules Command
- FPE signal, trapping
Trapping the FPE Signal (Oracle Solaris Only)
- frame, defined
Using the Call Stack
- frame command
frame Command
Moving to a Specific Frame
Changing the Visiting Scope
- func command
func Command
Changing the Visiting Scope
Types of Program Locations
Navigating To Functions
- funcs command
funcs Command
- function argument, unnamed
Evaluating Unnamed Arguments in C++ Programs
Evaluating Unnamed Arguments in C++ Programs
- function template instantiations
- displaying the source code for
Debugging With C++ Templates
- printing a list of
whereis Command
Debugging With C++ Templates
- printing the values of
Debugging With C++ Templates
- functions
- ambiguous or overloaded
Selecting From a List of C++ Ambiguous Function Names
- calling
Calling a Function
Calling a Function
- inlined, in optimized code
Inlined Functions
- instantiation
- calling
call Command
- evaluating
print Expressions
- printing source listing for
list Expressions
- intrinsic, Fortran
Showing Intrinsic Functions
- looking up definitions of
Looking Up Definitions of Variables, Members, and
Functions
- member of a class template, calling
call Command
- member of class template, evaluating
print Expressions
- navigating to
Navigating To Functions
- obtaining names assigned by the compiler
Evaluating Unnamed Arguments in C++ Programs
- qualifying name
Qualifying Symbols With Scope Resolution Operators
- setting breakpoints in
Setting a Breakpoint in a Function
- setting breakpoints in C++ code
Setting Breakpoints in All Member Functions of a Class
G
- gdb command
gdb Command
H
- handler id, defined
Creating Event Handlers
- handler command
handler Command
Using Event Counters
- handlers
Event Handlers- creating
Creating Event Handlers
Event Handlers
- enabling while within a function
Enabling a Handler While Within a Function
- hide command
hide Command
Hiding Stack Frames
- hiding call stack frames
Hiding Stack Frames
I
- ignore signal list
Catching Signals
- ignore command
ignore Command
Catching Signals
Intercepting and Cancelling the SIGINT Signal
- import command
import Command
- In Function breakpoint
Setting a Breakpoint in a Function
- In Object breakpoint
Setting Breakpoints in Objects
- in event
in Event Specification
- inclass event
inclass Event Specification
- infile event
infile Event Specification
- infunction event
infunction Event Specification
- inherited members
- displaying
Looking Up Definitions of Types and Classes
- seeing
Looking Up Definitions of Types and Classes
- inmember event
inmember Event Specification
- inmethod event
inmember Event Specification
inmember Event Specification
- inobject event
inobject Event Specification
- input_case_sensitive dbxenv variable
dbx Environment Variables
- input_case_sensitive environment variable
Uppercase Letters
- input_case_sensitive environment variable
Uppercase Letters
- instances, displaying the definitions of
whatis Command
Debugging With C++ Templates
- Intel registers
x86 Register Information
- intercept command
intercept Command
intercept Command
- invocation options
Options
J
- JAR file, debugging
Debugging a JAR File
- Java applications
- attaching dbx to
Attaching dbx to a Running Java Application
- specifying custom wrappers for
Specifying a Custom Wrapper for Your Java Application
- starting to debug
Starting to Debug a Java Application
- that require 64-bit libraries
Attaching dbx to a Running Java Application
- types you can debug with dbx
Starting to Debug a Java Application
- with wrappers, debugging
Debugging a Java Application That Has a Wrapper
- Java class file, debugging
Debugging a Class File
- Java code
- capabilities of dbx with
Capabilities of dbx With Java
Code
- dbx modes for debugging
Specifying 64-bit JVM Software
- limitations of dbx with
Limitations of dbx With Java Code
- static and dynamic information used by dbx commands
Static and Dynamic Information Used by dbx Commands
- using dbx with
Using dbx With Java Code
- Java debugging, environment variables for
Environment Variables for Java Debugging
- Java mode
dbx Modes for Debugging Java Code- dbx commands valid only in
Commands Valid Only in Java Mode
- different syntax than dbx commands
Commands With Different Syntax in Java Mode
- identical syntax and functionality for dbx commands
Commands With Identical Syntax and Functionality in Java Mode and Native
Mode
- switching from Java or JNI to native mode
Switching From Java or JNI Mode to Native Mode
- using dbx commands in
Using dbx Commands in Java Mode
- Java source files, specifying the location of
Specifying the Location of Your Java Source Files
- java command
java Command
- JAVASRCPATH dbxenv variable
Environment Variables for Java Debugging
dbx Environment Variables
- jclasses command
jclasses Command
- jdbx_mode dbxenv variable
Environment Variables for Java Debugging
dbx Environment Variables
- joff command
joff Command
- jon command
jon Command
- jpkgs command
jpkgs Command
- JVM software
- customizing startup of
Customizing Startup of the JVM Software
- passing run arguments to
Passing Run Arguments to the JVM Software
Passing Arguments to the JVM Software
- specifying 64-bit
Specifying 64-bit JVM Software
- specifying a path name for
Specifying a Path Name for the JVM Software
- jvm_invocation dbxenv variable
Environment Variables for Java Debugging
dbx Environment Variables
K
- key bindings for editors, displaying or modifying
Rebinding of Editing Functions
- kill command
kill Command
Checking for Leaks
Killing a Program Without Terminating the Session
- killing
- program
Killing a Program Without Terminating the Session
- Korn shell
- differences from dbx
Using dbx With the Korn Shell
- extensions
Extensions to ksh-88
- features not implemented
ksh-88 Features Not Implemented
- renamed commands
Renamed Commands
L
- language command
language Command
- language_mode dbxenv variable
dbx Environment Variables
- lastrites event
lastrites Event Specification
- LD_AUDIT
Attached Process on a System Running Oracle Solaris
- LD_PRELOAD
Attached Process on a System Running Linux
- leak checking
Enabling Memory Use and Memory Leak Checking
- libraries
- dynamically loaded, setting breakpoints in
Setting Breakpoints in Dynamically Loaded Libraries
- shared, compiling for dbx
Shared Libraries Require the -g Option
for Full dbx Support
- librtc.so, preloading
Attached Process on a System Running Linux
- librtld_db.so
Link Map
- libthread_db.so
Understanding Multithreaded Debugging
- limiting the experiment size
Syntax
- line command
line Command
Types of Program Locations
- link map
Link Map
- linker names
Linker Names
- list command
Changing the Visiting Scope
Types of Program Locations
- syntax
list Command
- using to print a source listing for a file or function
Printing a Source Listing
- using to print the source listing for a function instantiation
list Expressions
- listi command
listi Command
Using the listi Command
- listing
- all program modules that contain debugging information
Listing Modules
- breakpoints
Listing Breakpoints and Traces
Listing and Deleting Breakpoints
- C++ function template instantiations
Looking Up Definitions of Variables, Members, and
Functions
- debugging information for modules
Listing Debugging Information for Modules
- names of all program modules
Listing Modules
- names of modules containing debugging information that have already been read into dbx
Listing Modules
- signals currently being ignored
Catching Signals
- signals currently being trapped
Catching Signals
- traces
Listing Breakpoints and Traces
- load object, defined
Dynamic Linker
- loading your program
Starting dbx or dbxtool and
Loading Your Program
- loadobject command
- –dumpelf flag
loadobject -dumpelf Command
- –exclude flag
loadobject -exclude Command
- –hide flag
loadobject -hide Command
- –list flag
loadobject -list Command
- –load flag
loadobject -load Command
- –unload flag
loadobject -unload Command
- –use flag
loadobject -use Command
- loadobject command
loadobject Command
- looking up
- definitions of members
Looking Up Definitions of Variables, Members, and
Functions
- definitions of classes
Looking Up Definitions of Types and Classes
- definitions of functions
Looking Up Definitions of Variables, Members, and
Functions
- definitions of types
Looking Up Definitions of Types and Classes
- definitions of variables
Looking Up Definitions of Variables, Members, and
Functions
- this pointer
Looking Up Definitions of Variables, Members, and
Functions
- lwp command
lwp Command
- lwp_exit event
lwp_exit Event Specification
- LWPs (lightweight processes)
Understanding Multithreaded Debugging- information displayed for
Understanding LWP Information
- showing information about
Understanding LWP Information
- states
Thread and LWP States
- lwps command
lwps Command
Understanding LWP Information
M
- machine-instruction level
- address, setting breakpoint at
Setting a Breakpoint at an Address
- AMD64 registers
AMD64 Register Information
- debugging
Debugging at the Machine-Instruction Level
- Intel registers
x86 Register Information
- printing the value of all the registers
Using the regs Command
- setting breakpoint at address
Setting Breakpoints at the Machine-Instruction Level
- single stepping
Single-Stepping at the Machine-Instruction Level
- SPARC registers
SPARC Register Information
- tracing
Tracing at the Machine-Instruction Level
- using dbx
Using dbx at the Machine-Instruction Level
- macro
- compiler and compiler options
Compiler and Compiler Options
- definition method
Compiler and Compiler Options
Macro Definitions
- limitations
Limitations
- skimming
Skimming Errors
- tradeoffs in functionality
Tradeoffs in Functionality
- definitions
Macro Definitions
- expansion
Additional Uses of Macro Expansion
- skimming
Skimming Errors
- macro command
macro Command
Additional Uses of Macro Expansion
- macro_expand dbxenv variable
dbx Environment Variables
- macro_expand dbxenv variable
Additional Uses of Macro Expansion
- macro_source dbxenv variable
dbx Environment Variables
- macro_source dbxenv variable
Macro Definitions
- manipulating event handlers
Manipulating Event Handlers
- member functions
- printing
Looking Up Definitions of Variables, Members, and
Functions
- setting multiple breakpoints in
Setting Multiple Breakpoints in C++ Programs
- tracing
Setting a Trace
- member template functions
Debugging With C++ Templates
- members
- declarations, looking up
Viewing Variables, Members, Types, and Classes
- looking up declarations of
Viewing Variables, Members, Types, and Classes
- looking up definitions of
Looking Up Definitions of Variables, Members, and
Functions
- viewing
Viewing Variables, Members, Types, and Classes
- memory
- address display formats
Using Formats
- display modes
Examining the Contents of Memory
- examining contents at address
Examining the Contents of Memory
- states
Using Access Checking
- memory access
- checking
- enabling
Finding Memory Access Problems and Memory Leaks
- error report
Understanding the Memory Access Error Report
- errors
Access Errors
Memory Access Errors
- memory access checking
Using Access Checking- enabling
Enabling All Runtime Checking
Enabling Memory Access Checking
- memory leak
- checking
Checking for Leaks- enabling
Finding Memory Access Problems and Memory Leaks
- errors
Memory Leak Errors
Detecting Memory Leak Errors
- fixing
Fixing Memory Leaks
- report
Understanding the Memory Leak Report
- memory leak checking
Using Memory Leak Checking- enabling
Enabling All Runtime Checking
Enabling Memory Use and Memory Leak Checking
- memory use checking
Using Memory Use Checking- enabling
Enabling All Runtime Checking
Enabling Memory Use and Memory Leak Checking
Finding Memory Access Problems and Memory Leaks
- mmapfile command
mmapfile Command
- module command
module Command
Listing Debugging Information for Modules
- modules
- all program, listing
Listing Modules
- containing debugging information that have already been read into dbx, listing
Listing Modules
- containing debugging information, listing
Listing Modules
- current, printing the name of
Listing Debugging Information for Modules
- listing debugging information for
Listing Debugging Information for Modules
- modules command
modules Command
Listing Modules
Listing Debugging Information for Modules
- monitoring the value of an expression
Monitoring Expressions
- moving
- down the call stack
Moving Down the Stack
- to a specific frame in the call stack
Moving to a Specific Frame
- up the call stack
Moving Up the Stack
- mt_resume_one dbxenv variable
dbx Environment Variables
- mt_scalable dbxenv variable
dbx Environment Variables
- mt_sync_tracking dbxenv variable
dbx Environment Variables
- multithreaded programs, debugging
Debugging Multithreaded Applications
N
- native command
native Command
- navigating
- through functions by walking the call stack
Walking the Call Stack to Navigate To Code
- to a file
Navigating To a File
- to functions
Navigating To Functions
- next command
next Command
Stepping Through a Program
- next event
next Event Specification
- nexti command
nexti Command
Single-Stepping at the Machine-Instruction Level
O
- object files
- finding
Mapping the Compile-Time Directory to the Debug-Time Directory
- loading
Object File Loading
- separate debugging information
Debugging Information in Object Files and Executables
- object pointer types
Printing C++ Pointers
- obtaining the function name assigned by the compiler
Evaluating Unnamed Arguments in C++ Programs
- omp_atomic event
omp_atomic Event Specification
- omp_barrier event
omp_barrier Event Specification
- omp_critical event
omp_critical Event Specification
- omp_flush event
omp_flush Event Specification
- omp_loop command
omp_loop Command
- omp_master event
omp_master Event Specification
- omp_ordered event
omp_ordered Event Specification
- omp_pr command
omp_pr Command
- omp_serialize command
omp_serialize Command
- omp_single event
omp_single Event Specification
- omp_task event
omp_task Event Specification
- omp_taskwait event
omp_taskwait Event Specification
- omp_team command
omp_team Command
- omp_tr command
omp_tr Command
- online help, accessing
Accessing dbx Online Help
- OpenMP application programming interface
Debugging OpenMP Programs
- OpenMP code
- dbx functionality available for
dbx Functionality Available for
OpenMP Code
- events for, other
Other Events
- events for, synchronization
Synchronization Events
- execution sequence of
Execution Sequence of OpenMP Code
- printing a description of the current loop
Printing Region and Thread Information
- printing a description of the current parallel region
Printing Region and Thread Information
- printing a description of the current task region
Printing Region and Thread Information
- printing all the threads on the current tea
Printing Region and Thread Information
- printing shared, private, and thread private variables in
Printing Variables and Expressions
- serializing the execution of the next encountered parallel region
Serializing the Execution of a Parallel Region
- single-stepping in
Single-Stepping Into a Parallel Region
- transformation by compilers
How Compilers Transform OpenMP Code
- using stack traces with
Using Stack Traces
- using the dump command on
Using the dump Command
- operators
- backquote
Backquote Operator
- block local
Block Local Operator
- C++ double colon scope resolution
C++ Double-Colon Scope Resolution Operator
- optimized code
- about parameters and variables
Parameters and Variables
- compiling
Compiling With the g Option
- debugging
Debugging Optimized Code
- inlined functions
Inlined Functions
- output_auto_flush dbxenv variable
dbx Environment Variables
- output_base dbxenv variable
dbx Environment Variables
- output_class_prefix dbxenv variable
dbx Environment Variables
- output_data_member_only dbxenv variable
dbx Environment Variables
- output_dynamic_type dbxenv variable
dbx Environment Variables
- output_dynamic_type dbxenv variable
exception Command
- output_dynamic_type environment variable
Printing C++ Pointers
- output_inherited_members dbxenv variable
dbx Environment Variables
- output_list_size dbxenv variable
dbx Environment Variables
- output_log_file_name dbxenv variable
dbx Environment Variables
- output_max_object_size dbxenv variable
dbx Environment Variables
- output_max_string_length dbxenv variable
dbx Environment Variables
- output_no_literal dbxenv variable
dbx Environment Variables
- output_pretty_print dbxenv variable
dbx Environment Variables
- output_pretty_print environment variable
Using Pretty-Printing
- output_pretty_print_mode environment variable
Using Pretty-Printing
- output_short_file_name dbxenv variable
dbx Environment Variables
- overload_function dbxenv variable
dbx Environment Variables
- overload_operator dbxenv variable
dbx Environment Variables
P
- pathmap command
Finding Source and Object Files- skimming
Using the pathmap Command to Improve Skimming
- syntax
pathmap Command
- using to map the compile-time directory to the debug-time directory
Mapping the Compile-Time Directory to the Debug-Time Directory
- pointers
- dereferencing
Dereferencing Pointers
- printing
Pointer to Fortran Derived Type
- 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 remove frames from the call stack
Popping the Call Stack
- pop_auto_destruct dbxenv variable
dbx Environment Variables
- popping
- the call stack
pop Command
Popping the Call Stack
- predefined variables for event specification
Using Predefined Variables
- preloading
- librtc.so
Attached Process on a System Running Linux
- rtcaudit.so
Attached Process on a System Running Oracle Solaris
- pretty-printing
Using Pretty-Printing- call-based
Call-Based Pretty-Printing- failures
Possible Failures
- function considerations
Pretty-Printing Function Considerations
- filters
Python Pretty-Print Filters (Oracle Solaris)
- invoking
Invoking Pretty-Printing
- Python
Using Python on Oracle Solaris
Python Pretty-Print Filters (Oracle Solaris)
- API
Python Pretty-Print API Documentation
- Python Docs
Python Pretty-Print API Documentation
- 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
- 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
- declaration of a type or C++ class
Looking Up Definitions of Types and Classes
- description of the current loop
Printing Region and Thread Information
- description of the current parallel region
Printing Region and Thread Information
- description of the current task region
Printing Region and Thread Information
- field type
Looking Up Definitions of Variables, Members, and
Functions
- list of all class and function template instantiations
Debugging With C++ Templates
- list of all class and function template instantiations
whereis Command
- list of all known threads
Viewing the Threads List
- list of occurrences of a symbol
Printing a List of Occurrences of a Symbol
- list of threads normally not printed (zombies)
Viewing the Threads List
- member functions
Looking Up Definitions of Variables, Members, and
Functions
- name of the current module
Listing Debugging Information for Modules
- pointer
Pointer to Fortran Derived Type
- shared, private, and thread private variables in OpenMP code
Printing Variables and Expressions
- source listing
Printing a Source Listing
- source listing for the specified function instantiation
list Expressions
- tvalue of a variable or expression
Printing the Value of a Variable, Expression, or Identifier
- value of all the machine-level registers
Using the regs Command
- 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 dbxenv variable
dbx Environment Variables
- proc_gone event
proc_gone Event Specification- valid variables
Variable Valid for proc_gone Events
- procedure linkage tables
Procedure Linkage Tables
- procedure, calling
call Command
- process
- attached, using runtime checking on
Using Runtime Checking on an Attached Process
- attaching dbx using process ID
Using the Process ID
- child
- attaching dbx to
Attaching to Child Processes
- using runtime checking on
Using Runtime Checking on a Child Process
- detaching from dbx
Detaching dbx From a Process
Detaching a Process From dbx
- 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 Event Specification
- program
- continuing execution of
Continuing Execution of a Program- at a specified line
cont at Command
- fixing
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
- running
Running a Program- under dbx, impacts of
Impacts of Running a Program Under dbx
- with runtime checking enabled
Running Your Program
- single-stepping through
Controlling Single Stepping Behavior
- 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
- python-docs
- command
Python Pretty-Print API Documentation
Q
- qualifying symbol names
Qualifying Symbols With Scope Resolution Operators
- quit command
quit Command
- quitting a dbx session
Quitting Debugging
- quitting dbx
Quitting dbx
R
- reading a stack trace
Displaying and Reading a Stack Trace
- reading in
- debugging information
Listing Debugging Information for Modules
Listing Debugging Information for Modules
- registers
- AMD64 architecture
AMD64 Register Information
- Intel architecture
x86 Register Information
- printing the value of
Using the regs Command
- SPARC architecture
SPARC Register Information
- regs command
regs Command
Using the regs Command
- removing
- exception types from intercept list
unintercept Command
- stopped-in function from the call stack
Popping the Call Stack
- replay command
replay Command
Saving and Restoring Using replay
Saving and Restoring a Debugging Run
- replaying a saved debugging run
Saving and Restoring Using replay
- reporting where an exception type would be caught
whocatches Command
- rerun command
rerun Command
- resetting application files for replay
Resetting Application Files for replay
- restore command
restore Command
Restoring a Saved Run
Saving and Restoring a Debugging Run
- restoring a saved debugging run
Restoring a Saved Run
- resuming
- execution of a multithreaded program
Resuming Execution
- returns event
returns Event Specification
returns Event Specification
- rprint
- command
rprint Command
- rtc showmap command
rtc showmap Command
- rtc skippatch command
rtc skippatch Command- skipping instrumentation
Performance Improves When Sufficient Patch Area Is Available Within 8 MB of All
Existing Code (SPARC Platforms Only).
- rtc_auto_continue dbxenv variable
dbx Environment Variables
- rtc_auto_continue dbxenv variable
Enabling Batch Mode Directly From dbx
- rtc_auto_continue environment variable
Running Your Program
- rtc_auto_suppress dbxenv variable
dbx Environment Variables
- rtc_auto_suppress dbx variable
Suppression of Last Error
- rtc_biu_at_exit dbxenv variable
dbx Environment Variables
- rtc_biu_at_exit dbxenv variables
Using Memory Use Checking
- rtc_error_limit dbxenv variable
dbx Environment Variables
- rtc_error_limit dbxenv variable
Limiting the Number of Errors Reported
- rtc_error_log_file_name dbxenv variable
dbx Environment Variables
- rtc_error_log_file_name dbxenv variable
Enabling Batch Mode Directly From dbx
- rtc_error_log_file_name environment variable
Running Your Program
- rtc_error_stack dbxenv variable
dbx Environment Variables
- rtc_inherit dbxenv variable
dbx Environment Variables
- rtc_mel_at_exit dbxenv variable
dbx Environment Variables
- rtcaudit.so, preloading
Attached Process on a System Running Oracle Solaris
- rtld
Dynamic Linker
- run command
run Command
Running a Program
- run_autostart dbxenv variable
dbx Environment Variables
- run_io dbxenv variable
dbx Environment Variables
- run_pty dbxenv variable
dbx Environment Variables
- run_quick dbxenv variable
dbx Environment Variables
- run_savetty dbxenv variable
dbx Environment Variables
- run_setpgrp dbxenv variable
dbx Environment Variables
- runargs command
runargs Command
- running a program
Running a Program
Running Your Program in dbx
- in dbx without arguments
Running a Program
Running Your Program in dbx
- with runtime checking enabled
Running Your Program
- runtime checking
- access checking
Using Access Checking
- application programming interface
Runtime Checking Application Programming Interface
- attached process
Using Runtime Checking on an Attached Process
- child process
Using Runtime Checking on a Child Process
- disabling
Disabling Runtime Checking
- error suppression
Suppressing Errors
- errors
Runtime Checking Errors
- fixing memory leaks
Fixing Memory Leaks
- limitations
Runtime Checking Limitations
- memory access
- checking
Using Access Checking
- error report
Understanding the Memory Access Error Report
- errors
Access Errors
Memory Access Errors
- memory leak
- checking
Checking for Leaks
Using Memory Leak Checking
- error report
Understanding the Memory Leak Report
- errors
Memory Leak Errors
Detecting Memory Leak Errors
- memory use checking
Using Memory Use Checking
- possible leaks
Possible Leaks
- requirements
Runtime Checking Requirements
- suppressing errors
Suppressing Errors- default
Default Suppressions
- examples
Suppressing Error Examples
- suppression of last error
Suppression of Last Error
- troubleshooting tips
Troubleshooting Tips
- types of error suppression
Types of Suppression
- using fix and continue with
Using Fix and Continue With Runtime Checking
- using in batch mode
Using Runtime Checking in Batch Mode- directly from dbx
Enabling Batch Mode Directly From dbx
- when to use
When to Use Runtime Checking
S
- sample .dbxrc file
Initialization File Sample
- save command
save Command
Using the save Command
Saving and Restoring a Debugging Run
- saving
- debugging run to a file
Saving a Series of Debugging Runs as Checkpoints
Saving and Restoring a Debugging Run
- series of debugging runs as checkpoints
Saving a Series of Debugging Runs as Checkpoints
- scope
Program Scope- changing the visiting
Changing the Visiting Scope
- current
Variables That Reflect the Current Scope
Navigating To Code
- lookup rules, relaxing
Relaxing the Scope Lookup Rules
- visiting
Visiting Scope- changing
Changing the Visiting Scope
- components of
Components of the Visiting Scope
- scope resolution operators
Qualifying Symbols With Scope Resolution Operators
- scope resolution search path
Scope Resolution Search Path
- scope-look-aside dbxenv variable
Relaxing the Scope Lookup Rules
- scope_global_enums dbxenv variable
dbx Environment Variables
- scope_look_aside dbxenv variable
dbx Environment Variables
- scopes command
scopes Command
- search command
search Command
- segmentation fault
- finding line number of
Using dbx to Locate Problems
- Fortran, causes
Debugging Segmentation Faults
- generating
Using dbx to Locate Problems
- separate debugging information
- executables
Debugging Information in Object Files and Executables
- object files
Debugging Information in Object Files and Executables
- session, dbx
- quitting
Quitting Debugging
- starting
Starting a Debugging Session
- session_log_file_name dbxenv variable
dbx Environment Variables
- setting
- a trace
Setting a Trace
- breakpoints
- at a member function of a template class or at a template function
stop in Command
- at all instances of a function template
stop infunction Command
- in all member functions a class
Setting Breakpoints in All Member Functions of a Class
- in dynamically loaded libraries
Setting Breakpoints in Dynamically Loaded Libraries
- in member functions of different classes
Setting Breakpoints in Member Functions of Different Classes
- in native (JNI) code
Setting Breakpoints in Native (JNI) Code
- in objects
Setting Breakpoints in Objects
- on Java methods
Setting Breakpoints on Java Methods
- when breakpoint at a line
Executing dbx Commands at a Line
- with filters that contain function calls
Filters and Multithreading
- dbxenv variables with the dbxenv command
Setting dbxenv Variables
- filters on breakpoints
Setting Filters on Breakpoints
- multiple breakpoints in nonmember functions
Setting Multiple Breakpoints in Nonmember Functions
- shared libraries
- compiling for dbx
Shared Libraries Require the -g Option
for Full dbx Support
- setting breakpoints in
Setting Breakpoints in Shared Libraries
- shared objects
- .init sections
Startup Sequence and .init Sections
- startup sequence
Startup Sequence and .init Sections
- show_static_members dbxenv variable
dbx Environment Variables
- showblock command
showblock Command
Enabling Memory Use and Memory Leak Checking
- showleaks command
- combining leaks
Combining Leaks
- default output of
Fixing Memory Leaks
- error limit for
Limiting the Number of Errors Reported
- report resulting from
Possible Leaks
- syntax
showleaks Command
- using to ask for a leaks report
Generating a Leak Report
- showmemuse command
showmemuse Command
Using Memory Use Checking
- sig event
sig Event Specification- valid variables
Variables Valid for sig Event
- signals
- cancelling
Understanding Signal Events
- catching
Catching Signals
- changing default lists
Changing the Default Signal Lists
- forwarding
Understanding Signal Events
- FPE, trapping
Trapping the FPE Signal (Oracle Solaris Only)
- handling automatically
Automatically Handling Signals
- ignoring
Catching Signals
- listing those currently being ignored
Catching Signals
- listing those currently being trapped
Catching Signals
- names that dbx accepts
Catching Signals
- sending in a program
Sending a Signal to a Program
- single stepping
- through a program
Controlling Single Stepping Behavior
- single-stepping
- at the machine-instruction level
Single-Stepping at the Machine-Instruction Level
- skimming
- errors
Skimming Errors
- improving by using pathmap command
Using the pathmap Command to Improve Skimming
- slicing
- arrays
Using Slices
- C and C++ arrays
Array Slicing Syntax for C and C++
- Fortran arrays
Array Slicing Syntax for Fortran
- source files
- finding
Finding Source and Object Files
Mapping the Compile-Time Directory to the Debug-Time Directory
- specifying the location of
- C
Specifying the Location of Your C Source Files or
C++ Source Files
- C++
Specifying the Location of Your C Source Files or
C++ Source Files
- Java source files
Specifying the Location of Your Java Source Files
- source listing, printing
Printing a Source Listing
- source command
source Command
- SPARC registers
SPARC Register Information
- specifying a path for class files that use custom class loaders
Specifying a Path for Class Files That Use Custom
Class Loaders
- stack frame, defined
Using the Call Stack
- stack trace
Tracing Calls- displaying
Displaying and Reading a Stack Trace
- example
Displaying and Reading a Stack Trace
Displaying and Reading a Stack Trace
- Fortran
Tracing Calls
- reading
Displaying and Reading a Stack Trace
- using on OpenMP code
Using Stack Traces
- stack-find-source environment variable
Changing the Visiting Scope
- stack_find_source dbxenv variable
dbx Environment Variables
- stack_max_size dbxenv variable
dbx Environment Variables
- stack_verbose dbxenv variable
dbx Environment Variables
- starting dbx
Starting dbx or dbxtool and
Loading Your Program
- starting dbxtool
Starting dbx or dbxtool and
Loading Your Program
- startup options
Options
- status command
status Command
- step to command
Native Mode Syntax
Stepping Through a Program
Stepping Through Your Program
- step up command
Native Mode Syntax
Stepping Through a Program
- step command
step Command
Exception Handling in dbx
Stepping Through a Program
- step event
step Event Specification
- step_abflow dbxenv variable
dbx Environment Variables
- step_events dbxenv variable
dbx Environment Variables
- step_events environment variable
Efficiency Considerations
- step_granularity dbxenv variable
dbx Environment Variables
- step_granularity environment variable
Controlling Single Stepping Behavior
- stepi command
stepi Command
Single-Stepping at the Machine-Instruction Level
- stepping into a function
Stepping Into a Specific or Last Function
- stepping through a program
Stepping Through a Program
Stepping Through Your Program
- stop
- display of a particular variable or expression
Stop the Display (Undisplaying)
- display of all currently monitored variables
Stop the Display (Undisplaying)
- stop access command
Native Mode Syntax
Stopping Execution When an Address Is Accessed
- stop at command
Native Mode Syntax
Setting a Breakpoint at a Line of Source Code
- stop change command
Native Mode Syntax
Stopping Execution When Variables Change
- stop cond command
Native Mode Syntax
Stopping Execution on a Condition
- stop in command
Native Mode Syntax
Setting a Breakpoint in a Function
- stop inclass command
Native Mode Syntax
Setting Breakpoints in All Member Functions of a Class
- stop infile command
Native Mode Syntax
- stop inmember command
Native Mode Syntax
Native Mode Syntax
Setting Breakpoints in Member Functions of Different Classes
- stop inobject command
Native Mode Syntax
Setting Breakpoints in Objects
- stop command
stop in Command- syntax
stop Command
- using to set breakpoint at all member functions of a C++ template class
stop inclass Command
- using to set breakpoints at all instances of a function template
stop infunction Command
- using to stop in all member functions of a C++ template class
stop inclass Command
- stop event
stop Event Specification
- stopi command
stopi Command
Setting Breakpoints at the Machine-Instruction Level
- stopping
- in all member functions of a template class
stop inclass Command
- process execution
Stopping a Process Execution
- process with Ctrl+C
Using Ctrl+C to Stop a Process
- program 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
- striding across slices of arrays
Using Strides
- stripped programs
Completely Stripped Programs
- suppress command
- syntax
suppress Command
- using to limit reporting of runtime checking errors
Running Your Program
- using to list errors being suppressed in files not compiled for debugging
Default Suppressions
- using to manage runtime checking errors
Using Suppression to Manage Errors
- using to suppress runtime checking errors
Suppressing Errors
- suppress_startup_message dbxenv variable
dbx Environment Variables
- suppression of last error
Suppression of Last Error
- symbol names, qualifying scope
Qualifying Symbols With Scope Resolution Operators
- symbol_info_compression dbxenv variable
dbx Environment Variables
- symbols
- choosing among multiple occurrences of
Choosing Among Multiple Occurrences
- determining which dbx uses
Determining Which Symbol dbx Uses
- printing a list of occurrences
Printing a List of Occurrences of a Symbol
- sync command
sync Command
- sync event
sync Event Specification
- syncrtld event
syncrtld Event Specification
- syncs command
syncs Command
- sysin event
sysin Event Specification- valid variables
Variables Valid for sysin and sysout
Events
- sysout event
sysout Event Specification- valid variables
Variables Valid for sysin and sysout
Events
- system event specifications
System Event Specifications
T
- templates
- class
Debugging With C++ Templates- stopping in all member functions of
stop inclass Command
- displaying the definitions of
whatis Command
Debugging With C++ Templates
- function
Debugging With C++ Templates
- instantiations
Debugging With C++ Templates- printing a list of
whereis Command
Debugging With C++ Templates
- looking up declarations of
Looking Up Definitions of Types and Classes
- thr_create event
thr_create
[thread-ID] Event
Specification
Understanding Thread Creation Activity
- valid variables
Variables Valid for thr_create Event
- thr_exit event
thr_exit Event Specification
Understanding Thread Creation Activity
- thread creation, understanding
Understanding Thread Creation Activity
- thread command
thread Command
Viewing the Context of Another Thread
- threads
- current, displaying
Viewing the Context of Another Thread
- information displayed for
Thread Information
- list, viewing
Viewing the Threads List
- other, switching viewing context to
Viewing the Context of Another Thread
- printing list of all known
Viewing the Threads List
- printing list of normally not printed (zombies)
Viewing the Threads List
- resuming only the first in which a breakpoint was hit
Filters and Multithreading
- states
Thread and LWP States
- switching to by thread ID
Viewing the Context of Another Thread
- threads command
threads Command
Viewing the Threads List
- throw event
throw Event Specification
- timer event
timer Event Specification
- trace output, directing to a file
Directing Trace Output to a File
- trace command
trace Command
Setting a Trace
- trace_speed dbxenv variable
dbx Environment Variables
- trace_speed environment variable
Controlling the Speed of a Trace
- tracei command
tracei Command
Tracing at the Machine-Instruction Level
- traces
- controlling speed of
Controlling the Speed of a Trace
- implementing
Implementing a Simple Trace
- listing
Listing Breakpoints and Traces
Listing Breakpoints and Traces
- setting
Setting a Trace
- traces at the machine-instruction level
Tracing at the Machine-Instruction Level
- track_process_cwd dbxenv variables
dbx Environment Variables
- trip counters
Using Event Counters
- troubleshooting tips, runtime checking
Troubleshooting Tips
- types
- declarations, looking up
Viewing Variables, Members, Types, and Classes
- derived, Fortran
Viewing Fortran Derived Types
- looking up declarations of
Viewing Variables, Members, Types, and Classes
- looking up definitions of
Looking Up Definitions of Types and Classes
- printing the declaration of
Looking Up Definitions of Types and Classes
- viewing
Viewing Variables, Members, Types, and Classes
U
- uncheck command
uncheck Command
Disabling Runtime Checking
- undisplay command
undisplay Command
Stop the Display (Undisplaying)
Stop the Display (Undisplaying)
- unhide command
unhide Command
Hiding Stack Frames
- unintercept command
unintercept Command
unintercept Command
- unsuppress command
unsuppress Command
Default Suppressions
Suppressing Errors
- unwatch command
unwatch Command
- up command
up Command
Moving Up the Stack
Changing the Visiting Scope
- use command
use Command
V
- variable type, displaying
Looking Up Definitions of Variables, Members, and
Functions
- variables
- assigning values to
assign Command
Assigning a Value to a Variable
- declarations, looking up
Viewing Variables, Members, Types, and Classes
- determining which dbx is evaluating
Verifying Which Variable dbx Uses
- displaying functions and files in which defined
Verifying Which Variable dbx Uses
- event specific
Variables Valid for when Command and Specific Events
Variables Valid for when Command
- examining
Examining Variables
- looking up declarations of
Viewing Variables, Members, Types, and Classes
- looking up definitions of
Looking Up Definitions of Variables, Members, and
Functions
- monitoring changes
Monitoring Expressions
- outside of scope
Variables Outside the Scope of the Current Function
- printing the value of
Printing the Value of a Variable, Expression, or Identifier
- qualifying names
Qualifying Symbols With Scope Resolution Operators
- stop the display of
Stop the Display (Undisplaying)
- viewing
Viewing Variables, Members, Types, and Classes
- vdl_mode dbxenv variables
dbx Environment Variables
- verifying which variable dbx is evaluating
Verifying Which Variable dbx Uses
- viewing
- classes
Viewing Variables, Members, Types, and Classes
- context of another thread
Viewing the Context of Another Thread
- members
Viewing Variables, Members, Types, and Classes
- threads list
Viewing the Threads List
- types
Viewing Variables, Members, Types, and Classes
- variables
Viewing Variables, Members, Types, and Classes
- visiting scope
Visiting Scope- changing
Changing the Visiting Scope
Changing the Visiting Scope
- components of
Components of the Visiting Scope
W
- walking the call stack
Walking the Stack and Returning Home
Walking the Call Stack to Navigate To Code
- watch command
watch Command
Monitoring Expressions
- watch event
- valid variables
Variables Valid for access Event
- whatis command
Additional Uses of Macro Expansion
Looking Up Definitions of Types and Classes
Looking Up Definitions of Variables, Members, and
Functions
- syntax
whatis Command
- using to display the definitions of templates and instances
whatis Command
- using to obtain the function name assigned by the compiler
Evaluating Unnamed Arguments in C++ Programs
- when breakpoint at a line, setting
Executing dbx Commands at a Line
- when command
when Command
Event Handlers
when Command
Executing dbx Commands at a Line
- wheni command
wheni Command
- where command
where Command
Tracing Calls
Finding Your Place on the Stack
- whereami command
whereami Command
- whereis command
whereis Command
whereis Command
Printing a List of Occurrences of a Symbol
- macro
Additional Uses of Macro Expansion
- verifying variables
Verifying Which Variable dbx Uses
- which command
which Command
Verifying Which Variable dbx Uses
Determining Which Symbol dbx Uses
Choosing Among Multiple Occurrences
- macro
Additional Uses of Macro Expansion
- whocatches command
whocatches Command
whocatches Command
X
- x command
examine Command
Using the examine or x Command