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

Home » Public Forums » archive » Re: How to catch any IDL errors?
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: How to catch any IDL errors? [message #58483 is a reply to message #58478] Thu, 31 January 2008 02:38 Go to previous message
izimine is currently offline  izimine
Messages: 11
Registered: November 1997
Junior Member
On Jan 31, 6:44 pm, Nicolas <primese...@gmail.com> wrote:
> Hi folks,
>
> Could any IDL expert explain me to cause IDL to be stopped ANYTIME an
> error occur?
>
> I've been struggling to catch an "% Keyword parameters not allowed in
> call" error.
> I don't know which keyword parameters, neither which routine....
> I can't locate the error. It's a nightmare!
>
> Already tried:
>
> 1) on_error, 0
>
> 2) CATCH, Error_status
> IF Error_status NE 0 THEN BEGIN
> PRINT, 'Error index: ', Error_status
> PRINT, 'Error message: ', !ERROR_STATE.MSG
> stop
> ENDIF
>
> Please help! :)
>
> Nicolas

try:
help, /last_message, output=errors
print, errors
help, calls=stack
print, stack

also have a look at http://www.dfanning.com/programs/error_message.pro

hope this helps
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Vertical alignment of text with XYOUTS
Next Topic: Speaking of curve fitting...

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

Current Time: Sat Oct 11 18:46:15 PDT 2025

Total time taken to generate the page: 0.40141 seconds