Contents

1. Overview

 

HP/DDE at a Glance . . . . . . . . . . . . . . . . . . .

1-2

HP/DDE Online Help . . . . . . . . . . . . . . . . . . .

1-6

Using HP/DDE Online Help . . . . . . . . . . . . . . .

1-7

2.Compiling, Loading, and Executing the Target Program

Preparing the Target Program . . . . . . . . . . . . . . .

2-2

Invoking the Debugger . . . . . . . . . . . . . . . . . . .

2-3

Setting PATH and MANPATH Variables . . . . . . . . . .

2-3

Stopping the Debugger . . . . . . . . . . . . . . . . .

2-3

Invoking and Loading a Target Program During Debugger

 

Startup . . . . . . . . . . . . . . . . . . . . . . . .

2-4

Invoking and Loading a Target Program From the Debugger . .

2-5

Using the File Menu . . . . . . . . . . . . . . . . . . .

2-5

Using the debug Command . . . . . . . . . . . . . . . .

2-6

Attaching the Debugger to a Running Process . . . . . . . .

2-7

Using the File Menu . . . . . . . . . . . . . . . . . . .

2-7

Using the debug Command . . . . . . . . . . . . . . . .

2-7

Stopping the Target Program . . . . . . . . . . . . . . . .

2-9

Restarting the Target Program . . . . . . . . . . . . . . .

2-9

Using the File Menu . . . . . . . . . . . . . . . . . . .

2-9

Using the restart Command . . . . . . . . . . . . . . .

2-9

Interrupting a Running Program . . . . . . . . . . . . . .

2-10

Interrupting in System or Nondebuggable Routines . . . . .

2-10

Examining Source Files . . . . . . . . . . . . . . . . . .

2-12

Executing the Target Program . . . . . . . . . . . . . . .

2-14

Using Command Buttons . . . . . . . . . . . . . . . .

2-14

Using the go Command . . . . . . . . . . . . . . . . .

2-15

Using the step Command . . . . . . . . . . . . . . . .

2-16

Using the Mouse . . . . . . . . . . . . . . . . . . . .

2-17

Contents-1