X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Oct 2012 01:46 PM by  anon
Which line number was exception handler called at?
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
02 Oct 2012 01:46 PM
    When an exception occurs, IDL prints out the line number the execution halted at (and the error message). When I set up my own handler, I can print the message, but I don't see how to obtain the line number where the exception occurred. Is there a handle on this? Thanks, =Leonard

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Oct 2012 12:18 PM
    Try Error_Message from the Coyote Library: http://www.idlcoyote.com/...ips/widgettrace.html I use it in almost every one of my IDL programs to handle errors and print useful traceback information, including line numbers.

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Oct 2012 02:33 PM
    Thanks.
    You are not authorized to post a reply.