Looking at the Call/Return Stack . . . . . . . . . . . . . . 2-18 Using the tb Command . . . . . . . . . . . . . . . . . 2-19 Using the environment Command . . . . . . . . . . . . . 2-19

3.Using Monitors (Breakpoints, Watchpoints, Traces, and Intercepts)

Using Monitors . . . . . . . . . . . . . . . . . . . . . .

3-2

Setting Breakpoints . . . . . . . . . . . . . . . . . . . .

3-3

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

3-3

Using the breakpoint Command . . . . . . . . . . . . .

3-3

Specifying Lo cations . . . . . . . . . . . . . . . . .

3-4

Specifying Actions . . . . . . . . . . . . . . . . . .

3-4

Breaking at Blocks or Routines . . . . . . . . . . . . .

3-4

Setting Breakpoints in Alternate Source Files . . . . . . .

3-4

Using Breakpoints When Debugging Loops . . . . . . . .

3-5

Using the Break Menu . . . . . . . . . . . . . . . . . .

3-5

Using the Breakpoint Set/Change Dialog Box . . . . . . .

3-6

Setting Watchpoints . . . . . . . . . . . . . . . . . . . .

3-8

Viewing and Modifying Watchpoints . . . . . . . . . . .

3-9

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

3-10

Using the Watch Menu . . . . . . . . . . . . . . . . .

3-11

Using the Data Watchpoint Set/Change Dialog Box . . . . .

3-12

Using the watchpoint Command . . . . . . . . . . . . .

3-13

Setting Traces . . . . . . . . . . . . . . . . . . . . . .

3-14

Using the Trace Menu . . . . . . . . . . . . . . . . . .

3-15

Using the Trace Set/Change Dialog Box . . . . . . . . . .

3-16

Using the trace Command . . . . . . . . . . . . . . . .

3-17

Setting Intercepts . . . . . . . . . . . . . . . . . . . . .

3-18

Using the Intercepts Dialog Box . . . . . . . . . . . . .

3-18

Using the intercept Command . . . . . . . . . . . . . .

3-20

4. Viewing and Manipulating Target Program Data

 

Examining Variables and Expressions . . . . . . . . . . . .

4-2

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

4-3

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

4-3

Using the Data Value Menu . . . . . . . . . . . . . . .

4-4

Using Debugger Commands . . . . . . . . . . . . . . .

4-4

Examining Arra ys . . . . . . . . . . . . . . . . . . .

4-5

Examining Objects Referenced b y Pointers . . . . . . . .

4-6

Contents-2