HPlogo HP/DDE Debugger User's Guide: HP 9000 Series 700/800 Computers > Chapter 1 Overview

HP/DDE at a Glance

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index

The debugger provides a powerful graphical user interface based on OSF/Motif. You control the debugger by executing commands from menus, from the command entry line, or from customizable command buttons. (The debugger also has a line-mode user interface which is described in Appendix A “
Line-Mode User Interface”
.)

The main window of the debugger displays source code, debugger output, and program I/O. Some of the features of the debugger main window, shown in Figure 1-1 “Debugger Main Window”, are:

Title not available (HP/DDE at a Glance )

1

Menu Bar

Invoke commands or display dialog boxes.

Some dialog boxes allow you to specify options to debugger commands. Other dialog boxes include dynamic displays that allow you to view and manipulate assembly code, registers, variables, threads, call/return stacks, and more.

2

Input Box

Enter parameters for command buttons and pull-down menus.

You can enter information either by typing or by selecting text (from the source code, debugger output, or program I/O areas) for use with these commands. Text can be selected either by dragging the mouse, or by double-clicking.

3

Interrupt Button

Interrupt the debugger or the target program.

This button changes from Interrupt Debugger to Interrupt Program when the target program is executing.

4

Location Buttons

Change current location up and down the call/return stack.

Indicators in this area show when the current location differs from the program counter (PC) location. Locations are specified as function names.

Figure 1-1 Debugger Main Window

[Debugger Main Window]

Title not available (HP/DDE at a Glance )

5

Annotation Margin

Shows source file line numbers.

Click with the left mouse button on a line number to set a breakpoint. Click on the circled B symbol to delete the breakpoint.

An arrow indicates the current program counter location.

6

Source File Display Area

Clicking the right mouse button in this area invokes the Source Actions pop-up menu, which contains a number of program execution and monitoring commands.

To search for text strings in the source file, select Visit:Search.

7

Customizable Command Buttons

Invoke common debugger commands.

You can change these buttons or create additional buttons by selecting Options:User Configurable Buttons.

8

Debugger Output Area

This transcript pad echoes debugger commands, displays messages and warnings, and displays the output from debugger commands.

9

Debugger Command Input Box

Enter debugger commands.

For a complete list of debugger commands, their options, and usage examples see the online command reference.

10

User Program I/O Area

Target program output is displayed here. Input to target programs is entered here.

The debugger's GUI often provides several methods of performing a particular task. For example, you can:

  • Enter debugger commands in the command input box.

  • Invoke actions from menus, dialog boxes, or command buttons.

  • Invoke actions by pointing and clicking with the mouse.

This manual attempts to describe the most common alternatives for performing each task.

In general, entering debugger commands in the command entry box provides the widest range of options and allows the greatest flexibility and control. This manual shows only the more commonly used options to debugger commands. For complete information on a particular command, see Command Reference in the debugger's online help. You can also enter help command_name on the debugger's command line.

NOTE: If, when you start HP/DDE 4.0, the main debugger window does not look the way it does in Figure 1-1 “Debugger Main Window” (for example, if it is very small), you probably have defined the X resource DDE.geometry for an earlier release of HP/DDE. Comment out or remove this definition from your X resources.