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

Home » Public Forums » archive » IDL Virtual Machine
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 Virtual Machine [message #62801 is a reply to message #40967] Sat, 04 October 2008 10:31 Go to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
On Fri, 03 Oct 2008 18:50:32 +0200, manu wrote:

> Hello,
>
> I have a big application running on many platform. When a bug appears,
> it's possible to read the error message under Linux.
>
> But, in Windows IDL Virtual Machine, in case of bug, the application
> crashs sometimes without any message. Do you kwow if it is possible to
> trace an IDL application running on Windows XP Virtual Machine ?
>
> Thanks,
>
> Emmanuel.


You can handle the errors with the CATCH procedure. Place something
like the following into the beginning of your code:

catch,error_status
if error_status ne 0 then begin ; will be executed on error
msg=!error_state.msg ; IDL's error message
; you can print the error to the log file:
if !journal ge 1 then journal,'; '+msg
; or place an error message on the screen:
button=dialog_message(msg,title='IDL Virtual Machine',/error)
; or do anything else ...
endif

Good luck, Heinz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: The usage of PS_END
Next Topic: Viewing a plot under bash?

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

Current Time: Sun Oct 12 17:12:26 PDT 2025

Total time taken to generate the page: 0.24378 seconds