TOC PREV NEXT INDEX DOC LIST MASTER INDEX



Using the Apex Debugger Contents

Preface

Audience
Other Resources
Apex Documentation Roadmap
Contacting Rational Technical Publications
Contacting Rational Technical Support

Using the Apex Debugger

Overview
The Debugger's GUI
Debugger Modes
Debugger Windows
Help!
The Debugger's Command-Line Interface
Invocation
Syntax of Debugger Commands
Line Editing/Command History
Screen Mode Operation
List of All Commands

Getting Started with the Debugger

Prerequisites
Setting Up the Debugger Exercise
Starting to Debug a Program
Starting Execution
Setting Breakpoints
Continuing Execution
Deleting Breakpoints
Stepping Through the Program
Displaying Objects
Modifying the Value of an Object
Assembly Mode
Exiting the Debugger
Cleaning Up

Debugger Concepts

Context of Debugger Commands
Name Resolution
Retrieving Information from Call Stack Frames
Specifying Objects in Debugging Commands
Debugger Pathnames
Debugging Language Units (Ada only)
Accessing Overloaded Objects
Understanding Statement and Declaration Numbers
Referencing Variables and Parameters in Subprograms or Functions
Core File Debugging

Controlling Execution

Executing and Stepping a Program
Execution Commands
Stepping Commands
Breakpoints
Conditional Breakpoints
Breakpoint Commands
Create Breakpoint
Activate Breakpoint(s)
Deactivate Breakpoint(s)
Delete Breakpoint(s)
List Breakpoints
Set/Ignore signals (Native only)
Handling Exceptions
Exception-Handling Commands
Add Exception(s)
Catch Exception(s)
Delete Exception
Propagate Exception(s)
List Exceptions
Raise Exception
User Subprogram Calling
Embedded Execution Commands

Navigation

Visibility Rules
Home Position
Current Position
Current Frame
Display Source Code
Visit
Call Stack
Displaying the Call Stack
Navigating the Call Stack

Displaying and Changing Data

Displaying Data
Using the Debug > Show Command
Using the Debug > Show... Command
The Object Display Window
Customizing Displays of User-Defined Data Types
Using the p Command
Modifying Data
Expressions
Modifying Data Using Assignment Statements

Machine Level Debugging

Displaying Assembly Language
Setting Breakpoints at Instructions
Stepping Machine-Code
Register Operations
Obtaining Information from Registers
Modifying the Value of a Register
Memory Location Operations
Displaying Memory Locations
Modifying Contents of Memory Locations

Customizing the Debugger

Debugger State
Debugger State Files
Processing of State Files
Commands for Saving and Restoring Debugger State
User-State Files
Program-State Files
User-Specific Program-State Files
Managing the Debugger State Using the State Command
Debugger Options
Setting Debugger Options Using the View > Options Command
Setting Debugger Options Using the set Command
Debugger Variables and Special Type Display
Predefined Debugger Variables
Pseudo-Functions
User-Defined Debugger Variables
Listing Debugger Variables
Special Type Display
Macro Preprocessing Support
Target Environment Customization
Terminal Control

Task and Multiprogram Debugging

Managing Tasks
Task Numbers
The Tasks Window
Viewing the Stack of the Current Task
Referencing Task Activations
Additional Tasking Commands
Debugging Multiple Programs
Simultaneous Programs
Current program
Event Announcements
Multiprogramming Commands
The Programs Window
Command-Line Interface to Multiprogramming
Cooperating Multiple Programs

Using the Apex Debugger Index


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2002, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS