comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL 8.0 bug -- line number of errors not given
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 8.0 bug -- line number of errors not given [message #72895 is a reply to message #72894] Tue, 12 October 2010 15:25 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Oct 12, 7:16 pm, Paul van Delst <paul.vande...@noaa.gov> wrote:
>> Not showing the full trace is consistent with returning to the caller.
>
> <disclaimer>
> I do not use ON_ERROR for error handling. I always use CATCH.
> </disclaimer>
>
> Not sure if I agree with the consistency you mention. Since the error handler prints out a message it should at least
> provide the name of the procedure/function in which the error occurred. Without it, there is zero context >for the error.

My view is that setting 2 for on_error is already asking to be thrown
out of the context of the error. That is why I see it as consistent.
It is not zero information on where the error happens, because you get
the trace up to the point where the routine with 'on_error,2' is
called.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: execute an idl procedure without seeing idl workbench
Next Topic: convenient graphical object syntax

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:26:23 PDT 2025

Total time taken to generate the page: 0.90282 seconds