Re: Well, this is interesting...Not! [message #57667 is a reply to message #57666] |
Wed, 19 December 2007 10:16   |
Doug Edmundson
Messages: 58 Registered: November 2005
|
Member |
|
|
David Fanning wrote:
> Folks,
>
> I'm beginning to love IDL 7.0!
>
> This morning, in my usual way, I started a program that
> has a rather time-consuming FOR loop in it. (I'm processing
> a large data file.) Of course, as soon as I started it,
> I realized I had programmed a big mistake into it, so I
> wanted to stop it. Of course, I'm inside the damn FOR loop,
> so there *is* no stopping it.
>
> So, I just exited IDL. :-)
>
> Now I have no IDLDE and my FOR loop is *still* running!
> I think the new do-dads I put on my computer have an extra
> three years of wear on it already. :-(
>
> Of course, I *can't* start up another IDLDE, since this
> one is still running. My only recourse this morning
> (unless someone here has some ideas) is to start writing
> my Christmas cards.
>
> Cheers,
>
> David
>
David,
This isn't the most fun way, but to break out of a FOR loop...
+ Bring up the debug view. (It's part of the "Debug" perspective by
default and can be added to any perspective.)
+ Click the "Terminate" button (red square) or the "Suspend" button (two
yellow bars).
Note that if you've merely suspended, you can then use the "Skip Next
Statement" button to quickly step out of your loop.
Other posters are correct when they point out that the "idl_opserver"
process is core IDL. Should things get royally mucked up, you'll want
to kill that process too.
Doug
|
|
|