HP 3000 Manuals

Displaying Lines in the Program [ Symbolic Debugger/iX User's Guide ] MPE/iX 5.0 Documentation


Symbolic Debugger/iX User's Guide

Displaying Lines in the Program 

There are several ways to display program lines in the source program
window.

To display a particular source line, enter the v (view) command with the
line number.  For example, to display line 11:

     >v 11

To move one or more lines forward in the program, enter the plus sign (+)
and the number of lines you want to move.  When moving forward or
backward in the program, the source and location windows are adjusted
accordingly.  For example, to move five lines forward, enter:

     >+5

To move backward in the program, enter the minus sign (-) and the number
of lines you want to move.  To move backwards five lines, enter:

     >-5


NOTE When you reach the end (or beginning) of the source program using the + and - commands, no further movement may take place. You can repeat a previous + or - command (see +5 and -5 above) by pressing RETURN).
To display a procedure that has been called but is currently suspended at a given depth in the run-time stack, enter the V (View) command. The following example displays the procedure at depth two in the run-time stack. (Stack depth one is the current procedure's caller, depth two is its caller, etc.) >V 2 To view the current point of suspension during program execution in the source window, use the V (View) command with no arguments: >V
NOTE The source window automatically tracks where the program becomes suspended, and the V (View) is only needed after using the v (view), +, or - commands.


MPE/iX 5.0 Documentation