[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Debugging XPL pgms



Harry:

≪ Or is there ALREADY something in U2 that fits my
ideal? ≫

Yes, the XRAY utility that Robert mentioned,
specifically, the "Pause After Report" usage of said
utility.

Insert in your code, at the desired checkpoints
JM 2.xray/p:n,m,p-qQ2 , then SAve and RUN your program.
JM and Q2 are, of course, functions. The /P switch
causes XRAY to pause at each checkpoint. The letters
after the colon stand for the Save/Gets you want to
examine at the given checkpoint; these may be expressed
as a series or as a range (or both). The Save/Gets
specified need not be the same at every checkpoint. For
example, at one checkpoint you might put
JM 2.xray/p:01-05,10-12,23,27Q2 , while at another you
may want to see only JM 2.xray/p:01,23Q2 . Another
option is to insert simply JM 2.xray/pQ2 (no S/G
numbers). This provides a list of every initialized S/G
in the range 01-99 at each pause.

--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/