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

Home » Public Forums » archive » Re: tracking error while running as binaries
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: tracking error while running as binaries [message #16588] Fri, 06 August 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
I wrote the other day:

> hhpt@my-deja.com (hhpt@my-deja.com) writes:
>
>> After developing an application and compiled and save as .save (binary)
>> application. I noticed that when the binaries is runnning, the normal
>> window that display error messages in IDL development mode is not there.
>>
>> Anyone out there has good idea in how this can be solve?
>
> Most problems like this are solved by debugging the program
> before a save file is made. :-)
>
> But in the absence of this kind of attention to detail,
> you can try CATCHing your errors and using the Error_Message
> program on my web page for reporting them. This will call
> Dialog_Message to display the error message on devices that
> support widgets.
>
> http://www.dfanning.com/programs/error_message.pro

I have an unfortunate tendency when reading the newsgroup
in the morning to be cute rather than complete. :-(

Here is a good example where a little more testing on
my part would have been appropriate. It turns out (and
thanks to the fine folks at RSI for pointing this out
to me), that run-time versions of programs don't keep
track of line numbers--ever. So, really, the only choice
you have is to debug the program before you ever make
it a run-time application.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: tracking error while running as binaries [message #16602 is a reply to message #16588] Thu, 05 August 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
hhpt@my-deja.com (hhpt@my-deja.com) writes:

> After developing an application and compiled and save as .save (binary)
> application. I noticed that when the binaries is runnning, the normal
> window that display error messages in IDL development mode is not there.
>
> Anyone out there has good idea in how this can be solve?

Most problems like this are solved by debugging the program
before a save file is made. :-)

But in the absence of this kind of attention to detail,
you can try CATCHing your errors and using the Error_Message
program on my web page for reporting them. This will call
Dialog_Message to display the error message on devices that
support widgets.

http://www.dfanning.com/programs/error_message.pro

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Random Number Replication
Next Topic: Re: Pixel format error

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

Current Time: Wed Oct 08 19:15:06 PDT 2025

Total time taken to generate the page: 0.00561 seconds