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

Home » Public Forums » archive » Re: Silent errors in run-time
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: Silent errors in run-time [message #45831 is a reply to message #45828] Wed, 12 October 2005 12:26 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Kenneth Bowman wrote:
> In article <1129101910.515866.264760@g47g2000cwa.googlegroups.com>,
> otto.hyvarinen@fmi.fi wrote:
>
>
>>> You need to "redirect output". Syntax varies slightly depending on which
>>> shell
>>> you are running. In csh (and tcsh) I do something like this
>>> idl >>& my idl log
>>
>> Unfortunately this doesn't help, because IDL opens a window , that
>> needs to be clicked at. I can redirect my stdout and stderr where ever
>> I want, but it doesn't make any difference. It is an IDL problem, not a
>> shell script problem, I sincerly believe.
>>
>> regards,
>> Otto Hyv�rinen
>
>
> I assume you mean a *graphics* window.

Well, he says "needs to be clicked at" which makes me think he is
talking about a dialog box. Possibly a component of his application
reports errors via DIALOG_MESSAGE and in this case the application is
probably already CATCHing errors so my approach wouldn't work.

If the issue is a dialog box, you will need to modify your code such
that they aren't displayed. Either by commenting the calls or by
replacing them with a non-gui equivalent. You may want to look at David
Fanning's ERROR_MESSAGE function.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format query
Next Topic: Re: declare variables

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

Current Time: Wed Oct 08 15:26:22 PDT 2025

Total time taken to generate the page: 0.00398 seconds