Make IDL record console output to a file automatically? [message #73715] |
Wed, 24 November 2010 16:05  |
James[2]
Messages: 44 Registered: November 2009
|
Member |
|
|
Hi Folks,
I'm trying to work out some external C programs that I'm calling from
IDL.
In IDL 7.1, when my DLLs crashed, IDL would display a fatal error
message, but the workbench window would persist, so I could look at
the console and read the debug statements from my C code to figure out
what happened right before the crash.
On the other hand, IDL 8 exits immediately, closing all windows. This
is a problem because I have already changed some of my code to use IDL
8 features, so I can't just run everything in 7.1 to view the error
messages.
This motivates my question - is there any way to get IDL to record all
console output on a file, so I can read it and do a post-mortem after
IDL shuts down?
You'd think that software would get better when they release new
versions...
|
|
|
Re: Make IDL record console output to a file automatically? [message #73807 is a reply to message #73715] |
Thu, 25 November 2010 03:59  |
jeanh
Messages: 79 Registered: November 2009
|
Member |
|
|
On 24/11/2010 7:05 PM, James wrote:
> This motivates my question - is there any way to get IDL to record all
> console output on a file, so I can read it and do a post-mortem after
> IDL shuts down?
Hi,
JOURNAL comes to mind... though I am not sure if all content would be
written, as you would be unable to type the closing command
Jean
|
|
|