DEBUG EDIT — MicroVMS 4.4
Note: in order to use the default state of the EDIT command, you
must have the LSE editor on your system.
Typing EDIT while in screen mode causes you to begin editing the
file that you were looking at in your source window. If you use
the LSE editor, the cursor will be positioned at the place your
source window was centered. You can optionally override the
default file and start position by specifying a location in the
same way as you would with the TYPE command, e.g., "EDIT
MODNAME\10".
What EDIT actually does is invoke the editor specified in the SET
EDITOR command. The default is to SPAWN the command:
$ LSEDIT/START_POSITION=(n,1) filespec
(where "n" is a number corresponding to the central line in your
source window).
See the SET EDITOR command for more details.
Syntax:
EDIT [/EXIT] [[module-name\] line-number]
Additional information available:
Parameters
The normal usage will be to use no parameters, in which case (if
you are using the LSE editor), you come up in the editor at the
same place that you saw in your source window.
DBG> EDIT
You can optionally give a module name and line number, specifying
a different place that you want to come up in the editor:
DBG> EDIT modname\line-number
You can specify the line number by itself, in which case the
module is assumed to be the same as the one currently in your
source window.
DBG> EDIT line-number
Qualifiers
Additional information available:
/EXIT
/EXIT - specifies that you want to end the debugging session and
start an editing session. In this case, the debugger will do a
$EXIT after leaving the editor.
/NOEXIT
/NOEXIT (default) - specifies that you want to continue the
debugging session after you make your edits.