[Q]: Linenumbers in HELP,tb=calls [message #3806] |
Mon, 20 March 1995 01:37 |
Frank J. �ynes
Messages: 17 Registered: February 1995
|
Junior Member |
|
|
A while ago I asked a question about how to get
current line number and module name for runtime logging.
A few people correctly suggested using
HELP, tb = CALLS
giving all necessary traceback information in the string
array tb.
BUT:
My application uses SAVE files, that is - during the make
process (Yes, I actually use a Makefile for IDL), I get
idl to compile all routines necessary for the application,
and then issue the commands
save,/all,/verb,filename="appvars.img"
save,/rou,/verb,filename="appproc.img"
And the executable application is then simply the script
idl << `tail -3 $0`
restore, filename='appvars.img'
restore, filename='appproc.img'
browse_task
exit
The problem is that when using precompiled images the linenumbers
seem to disappear from the traceback info.
Is there a solution/workaround for this?
TIA,
Frank J. �ynes (Frank@spacetec.no)
|
|
|