DEBUG EDIT — VMS FORTRAN_5.2
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 is 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, for example, "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 is to not specify any parameters. In this case,
if you are using the LSE editor, the editing cursor is positioned
on the same text that is displayed in the debugger 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 performs a
$EXIT call after leaving the editor.
/NOEXIT
/NOEXIT (default) - specifies that you want to continue the
debugging session after you make your edits.