[comp.os.vms] Debugging /NOTRACE/NODEBUG images

rrk@byuvax.bitnet (11/25/87)

I have found it useful in getting "inside information" on VMS and other
programs that are insufficiently documented:

Be sure to copy the executable to another area.  This only works correctly
on images which have been linked /NOTRACEBACK.  It puts in a transfer address
for the debugger (left out by the linker when an image is linked /NOTRACEBACK)
and sets the debug bit so that the image activator activates the debugger.

The parameter is the file name of the executable.


$ patch/abs 'p1'
e/word 2
e \+4
dep .+4 = \
e .-8
dep .+4 = \
dep .-4 = 7ffedf68
e 20
dep . = \ or 1
update