Re: Another Way IDL 8.0 is Fragile [message #73145] |
Mon, 25 October 2010 15:54  |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Oct 25, 8:31 pm, David Fanning <n...@dfanning.com> wrote:
> Here is another way IDL 8.0 is fragile.
>
> I've just crashed IDL 3 times in the last 10 minutes. I think
> I can do it pretty reliably now.
>
> I have a main-level program. No objects. I put a breakpoint
> in the main-level program. Now run it. Stop at the breakpoint.
> Move a couple of steps. Now, without thinking make a change
> to the program and hit the compile button instead of the
> resume button. About half the time, IDL will just completely
> disappear. And I mean QUICKLY, and without a trace. I have
> the compile button set to "save and compile".
Is that on Windows? I never had problems like that in the release
version, but I use IDL in Linux nearly all the time.
|
|
|
Re: Another Way IDL 8.0 is Fragile [message #73194 is a reply to message #73145] |
Wed, 27 October 2010 08:50  |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
On 26 oct, 00:54, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Oct 25, 8:31 pm, David Fanning <n...@dfanning.com> wrote:
>
>> Here is another way IDL 8.0 is fragile.
>
>> I've just crashed IDL 3 times in the last 10 minutes. I think
>> I can do it pretty reliably now.
>
>> I have a main-level program. No objects. I put a breakpoint
>> in the main-level program. Now run it. Stop at the breakpoint.
>> Move a couple of steps. Now, without thinking make a change
>> to the program and hit the compile button instead of the
>> resume button. About half the time, IDL will just completely
>> disappear. And I mean QUICKLY, and without a trace. I have
>> the compile button set to "save and compile".
>
> Is that on Windows? I never had problems like that in the release
> version, but I use IDL in Linux nearly all the time.
I experienced this "fragility" several times when developing code by
using the IDL8 Workbench. Typically, if a program is run at the main
level and get some error, it stops but in "resume" state (like with
any breakpoint). I can modify the code, then resume the program. That
is in general o.k. except, I guess, when some lines have been added or
suppressed in the corrected code. In this case IDL crashes silently
(note that, in Windows, the Java runtime log file reports an access
violation in idl.dll). The sequence run-error-correct-resume is new
with IDL8: in older version, you should reset and restart the program.
I do not know if it is a bug or a feature...
alx.
|
|
|