Dave,

>From (IIRC) 10.0 onwards, there's the "SYSTEM(9001)" pseudo-variable
which contains the UV CALL Stack.
It's formatted a bit funny, but there may be a routine on the Pickwiki
to make it a sensible format.

HTH


Regards


Mike


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David A
Barrett
Sent: Wednesday, 24 June 2009 8:33 a.m.
To: u2-users@listserver.u2ug.org
Subject: [U2] What Program Am I?

[Snip]

It would be super if it were possible to see the call stack from a
running 
program.  Kind of like the the UV "T" debugger command.  Sometimes I'm 
just wondering, "How the hell did I get *there*".  Or I'll see debugging

output in the &PH& file and I wonder, "What program is that from?".  In 
those cases it would be useful to have the call stack sitting beside the

output in the &PH& file.

Does anybody know a way to do this?  I've even considered building a 
little $INCLUDE snippet that updates @USER1 or a named common area and 
recompiling ever server side program with it added. 

Any help will be greatly appreciated.

Dave Barrett,
Lawyers' Professional Indemnity Company
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to