Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ukma!psuvm.bitnet!cunyvm!unknown
From: rrk@byuvax.bitnet
Newsgroups: comp.os.vms
Subject: Debugging /NOTRACE/NODEBUG images
Message-ID: <34rrk@byuvax.bitnet>
Date: Wed, 25-Nov-87 12:07:33 EST
Article-I.D.: byuvax.34rrk
Posted: Wed Nov 25 12:07:33 1987
Date-Received: Sun, 29-Nov-87 13:48:01 EST
Lines: 22

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