[next] [previous] [contents]

  $ BASIC/LIST/DEBUG SAMPLE 1
  $ LINK/DEBUG SAMPLE 2
  $ RUN SAMPLE
                        VAX DEBUG Version n.n
  %DEBUG-I-INITIAL, language is BASIC module set to 'SAMPLE$MAIN' 3
  DBG> STEP 2 4
  NUMBER SQUARE SQUARE ROOT
  stepped to SAMPLE$MAIN\%line 7
          7: FOR Number = 10 TO 1 STEP -1 5
  DBG> STEP 4 6
  10 100 3.16228
  stepped to SAMPLE$MAIN\%LINE 7
          7: FOR Number = 10 TO 1 STEP -1
  DBG> EXAMINE Number 7
  SAMPLE$MAIN\NUMBER: 10 8
  DBG> STEP 4 9
  10 100 3.16228
  stepped to SAMPLE$MAIN\%LINE 7
          7: FOR Number = 10 TO 1 STEP -1
  DBG> EXAMINE Number 10
  SAMPLE$MAIN\NUMBER: 10 11
  DBG> DEPOSIT Number = 9 12
  DBG> STEP 4 13
  9 81 3
  stepped to SAMPLE$MAIN\%LINE 7
          7: FOR Number = 10 TO 1 STEP -1
  DBG> EXAMINE Number 14
  SAMPLE$MAIN\NUMBER: 9 15
  DBG> STEP 16
  9 81 3
  stepped to SAMPLE$MAIN\%LINE 8
          8: PRINT Number, Number^2, SQR(Number) 17
  DBG> STEP 18
  stepped to SAMPLE$MAIN\%LINE 9
          9: Number = Number + 1 19
  DBG> EXIT 20