HPlogo HP/DDE Debugger User's Guide: HP 9000 Series 700/800 Computers

Preface

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index

The HP/DDE Debugger User's Guide describes the HP Distributed Debugging Environment (HP/DDE), the high-level language debugger for the HP-UX operating system.

HP/DDE is also the default SoftBench Program Debugger which runs on both HP-UX and Solaris systems.

The debugger software consists of the main debugger and a set of managers. The main debugger provides such basic debugger functions as program control, process control, program and data monitoring, program information, and expression evaluation. The managers enable the debugger to handle different source languages, target machines, object file formats, and user interfaces.

This manual contains information on how to perform debugging tasks using HP/DDE's OSF/Motif user interface. It also contains information on the line-mode interface and the debugger managers in appendixes.

NOTE: HP/DDE is also the default SoftBench Program Debugger. The SoftBench version of HP/DDE has a graphical user interface that differs somewhat from the interface presented in this manual. The debugging commands are the same.

The SoftBench Program Debugger runs on both HP-UX and Solaris systems.

Reference information on debugger commands and information on performing debugging tasks are available online through the HP Help System. This help is available from the Help Manager on the HP VUE front panel. It is also available from within the debugger if you use the Help menu or issue the help command.

Audience

This manual is written for programmers in C, C++, FORTRAN, or Pascal.

Summary of Technical Changes

This edition of the HP/DDE Debugger User's Guide documents the HP Distributed Debugging Environment (HP/DDE) Version 4.0 on HP-UX workstations.

HP/DDE Version 4.0 provides the following new features and enhancements:

  • A new and easier to use graphical user interface.

  • Support of PA-RISC 2.0 assembly language.

  • Enhanced debugging of optimized code in C.

  • Support for ANSI C++, including:

    • Allowing object specific breakpoints.

    • Automatic detection of most overloaded operators.

    • Allowing watchpoints on reference-type variables.

    • Support for long long types.

    • Support for dynamic_cast<type>(expr) operator.

  • Support for FORTRAN 90, including:

    • Printing FORTRAN 90 values.

    • Kind Suffixes.

    • Specifying ranges in arrays.

  • Improvements to the call command, including:

    • Support of string literal and union arguments, which allows calls to printf.

    • Support of calls to functions in images outside of the current location.

    • Support of calls to shared library functions with return values.

  • Performance improvement for very large applications.

Related Documentation

For more information on HP-UX programming, refer to the following documents:

  • Programming on HP-UX (B2355-90653) provides an overview of programming on HP-UX. It includes information about linking programs, creating and managing user libraries, optimizing programs, and porting programs.

  • HP/PAK Performance Analysis Tools User's Guide (B3476-90016) describes the performance tools provided by the HP Program Analysis Kit (HP/PAK).

  • The HP FORTRAN/9000 Programmer's Reference (B3906-90002) and HP FORTRAN/9000 Programmer's Guide (B3906-90001) describe the FORTRAN programming language on HP-UX systems.

  • The HP C/HP-UX Reference Manual (92453-90024) and HP C Programmer's Guide (92434-90002) describe the C programming language on HP-UX systems.

  • The HP C++ Programmer's Guide (92501-90026) and the HP C++ Quick Reference Card (B1637-90001) describe the C++ programming language on HP-UX systems.

  • The HP Pascal/HP-UX Reference Manual (92431-90005) and HP Pascal/HP-UX Programmer's Guide (92431-90006) describe the HP Pascal programming language on HP-UX systems.

  • The Assembly Language Reference Manual (92432-90001) describes assembly language programming on HP-UX Series 700/800 systems. The ADB Tutorial (92432-90005) introduces the assembly language debugger.

  • The Precision Architecture and Instruction Set Reference Manual (09740-90014) and PA-RISC 1.1 Architecture and Instruction Set Reference Manual (09740-90039) describe, respectively, the PA-RISC 1.0 and PA-RISC 1.1 architectures. PA-RISC 2.0 Architecture, by Gerry Kane (Prentice-Hall, ISBN 0-13-182734-0), describes the PA-RISC 2.0 architecture.

  • The Procedure Calling Conventions Reference Manual (09740-90015) describes procedure calling conventions on PA-RISC systems.

  • The HP-UX Symbolic Debugger User's Guide (B2355-90044) describes the xdb debugger.

  • The X Window System User's Guide, O'Reilly & Associates, Inc., provides information about the X Window System.

To order manuals, call HP DIRECT at 1-800-637-7740. Outside the USA, please contact your local sales office.

Typographical Conventions

Title not available (Preface )

computer font

Computer font indicates commands, keywords, options, literals, source code, system output, and path names. In syntax formats, computer font indicates commands, keywords, and punctuation that you must enter exactly as shown.

bold text

In interactive examples, computer font text in bold represents user input.

italic type

In syntax formats, words or characters in italics represent values that you must supply. Italics are also used for book titles and for emphasis.

boldface type

Boldface words in glossary definitions indicate terms that are also defined in the glossary.

[ ]

In syntax formats, square brackets enclose optional items.

{ }

In syntax formats, braces enclose a list from which you must choose an item.

|

In syntax formats, a vertical bar separates items in a list of choices.

In syntax formats, a horizontal ellipsis indicates that you can repeat the preceding item one or more times.

vertical ellipsis

A vertical ellipsis means that irrelevant parts of a figure or example have been omitted.

key

Type the corresponding key on the keyboard.

name(N)

An italicized word followed by a number in parentheses indicates a page and section number in the HP-UX Reference. For example, cc(1) refers to the cc page in Section 1 of the HP-UX Reference.

Menu:Item

This notation indicates a choice from the menu bar. For example, since Quit is on the File menu, the menu bar selection is written as File:Quit.

In This Book

The following is a brief description of the contents of this manual:

Title not available (Preface )

Chapter 1

Presents an overview of the debugger's graphical user interface and online help system.

Chapter 2

Describes how to compile, load, and execute a target program.

Chapter 3

Describes how to use breakpoints, watchpoints, traces, and intercepts.

Chapter 4

Describes how to view and manipulate target program data.

Chapter 5

Describes how to use the debugger's command line.

Chapter 6

Describes how to customize the debugger.

Chapter 7

Describes the concepts of blocks and environments, scope and visibility rules, and the use of qualified names.

Chapter 8

Describes how to use the debugger to handle special application requirements.

Appendix A

Describes the debugger's line-mode interface.

Appendix B

Describes the debugger's language managers.

Appendix C

Describes the debugger's target managers.

Appendix D

Describes the debugger's object managers.

Appendix E

Describes the debugger's user interface managers.

This manual also contains a Glossary and Index.