Re: Well, this is interesting...Not! [message #57662] |
Wed, 19 December 2007 10:49 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Doug Edmundson writes:
> Chris mentioned that control+c at the command line should work too. It
> does! It's never as bad as it seems. :-)
Yes, it surely does. Hooray! My Windows machine acts like
it's running UNIX. ;-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Well, this is interesting...Not! [message #57663 is a reply to message #57662] |
Wed, 19 December 2007 10:36  |
Doug Edmundson
Messages: 58 Registered: November 2005
|
Member |
|
|
David Fanning wrote:
> Doug Edmundson writes:
>
>> 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.
>
> Ah, I was *sure* there had to be some way to get out of
> that thing. Thanks for this.
>
> Cheers,
>
> David
Chris mentioned that control+c at the command line should work too. It
does! It's never as bad as it seems. :-)
Note that just as in command line IDL, breaking execution only works
when the interpreter is between IDL statements. For example, one can't
interrupt a long running FFT.
Doug
|
|
|
Re: Well, this is interesting...Not! [message #57666 is a reply to message #57663] |
Wed, 19 December 2007 10:20  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Doug Edmundson writes:
> 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.
Ah, I was *sure* there had to be some way to get out of
that thing. Thanks for this.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
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
|
|
|
Re: Well, this is interesting...Not! [message #57670 is a reply to message #57667] |
Wed, 19 December 2007 09:05  |
Ben Panter
Messages: 102 Registered: July 2003
|
Senior Member |
|
|
David Fanning wrote:
> P.S. Ben, when you get that installed, could you check with Jean
> Miller. I told her (him?) you might be in touch about performance on
> other machines in the building. Thanks. :-)
Will do.
v7 is being rolled out across the whole site tomorrow, when I will be
safely ensconced in a two day meeting a hundred and some miles away in
Durham, before making good my escape and heading South until Jan!
Ben
--
Ben Panter, Edinburgh, UK.
Email false, http://www.benpanter.co.uk
or you could try ben at ^^^^^^^^^^^^^^^
|
|
|
Re: Well, this is interesting...Not! [message #57671 is a reply to message #57670] |
Wed, 19 December 2007 09:02  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior 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.
ctrl-C has always worked for me (although I might have to wait for it to push it's way to
the front of the queue...)
> So, I just exited IDL. :-)
>
> Now I have no IDLDE and my FOR loop is *still* running!
Huh?!?
You know, I don't know how you people do *anything* useful on windows machines. :o)
cheers,
paulv
|
|
|
Re: Well, this is interesting...Not! [message #57672 is a reply to message #57671] |
Wed, 19 December 2007 08:41  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Ben Panter writes:
> Did you try idl_opserver? That's the little perisher which I usually
> killed when I had a similar problem with the beta, sucessfully taking
> out the problem. Alternatively sort by CPU or Mem and it usually becomes
> clear who you need to pass the concrete footwear to.
The process idl_opserver got my FOR loop to quit. But
I also had to kill the idlde.exe process to be able to
run IDL 7.0 again.
On the plus side, I've learned all kinds of things about
my computer since I installed IDL 7.0. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Well, this is interesting...Not! [message #57673 is a reply to message #57672] |
Wed, 19 December 2007 08:37  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Ben Panter writes:
> Did you try idl_opserver? That's the little perisher which I usually
> killed when I had a similar problem with the beta, sucessfully taking
> out the problem. Alternatively sort by CPU or Mem and it usually becomes
> clear who you need to pass the concrete footwear to.
>
> Obtained my 7.0 license this morning, so waiting for a quiet moment
> to upgrade...
Oh, hooray! The sound of computer fans screaming is starting to abate.
Note for the Best Practices manual:
Get that damn ProgressBar software from that useless
Coyote site and put it in ALL your FOR loops!
Cheers,
David
P.S. Ben, when you get that installed, could you check
with Jean Miller. I told her (him?) you might be in touch
about performance on other machines in the building. Thanks. :-)
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: Well, this is interesting...Not! [message #57675 is a reply to message #57674] |
Wed, 19 December 2007 08:22  |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
> 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
What does the processes manager says?
|
|
|
|
Re: Well, this is interesting...Not! [message #57677 is a reply to message #57675] |
Wed, 19 December 2007 08:27  |
Ben Panter
Messages: 102 Registered: July 2003
|
Senior Member |
|
|
David Fanning wrote:
> David Fanning writes:
>
>> 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.
>
> Alright, I opened up Doctor Death with CNLT-ALT-DELETE
> and killed everything that has "IDL" or "ITTVIS" or "RSI"
> anywhere in the name, and the damn thing is *STILL* running!!!
>
> Where's my gun!?
>
> Cheers,
>
> David
>
Hi David,
Did you try idl_opserver? That's the little perisher which I usually
killed when I had a similar problem with the beta, sucessfully taking
out the problem. Alternatively sort by CPU or Mem and it usually becomes
clear who you need to pass the concrete footwear to.
Obtained my 7.0 license this morning, so waiting for a quiet moment
to upgrade...
Ben
--
Ben Panter, Edinburgh, UK.
Email false, http://www.benpanter.co.uk
or you could try ben at ^^^^^^^^^^^^^^^
|
|
|
Re: Well, this is interesting...Not! [message #57679 is a reply to message #57675] |
Wed, 19 December 2007 08:24  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> David Fanning writes:
>
>> 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.
>
> Alright, I opened up Doctor Death with CNLT-ALT-DELETE
> and killed everything that has "IDL" or "ITTVIS" or "RSI"
> anywhere in the name, and the damn thing is *STILL* running!!!
>
> Where's my gun!?
I'll tell you what. I just caught a tiny glimpse of
the future, and I can assure you it is FULL of bullet-proof
software. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Well, this is interesting...Not! [message #57680 is a reply to message #57675] |
Wed, 19 December 2007 08:23  |
Allan Whiteford
Messages: 117 Registered: June 2006
|
Senior Member |
|
|
David Fanning wrote:
> David Fanning writes:
>
>
>> 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.
>
>
> Alright, I opened up Doctor Death with CNLT-ALT-DELETE
> and killed everything that has "IDL" or "ITTVIS" or "RSI"
> anywhere in the name, and the damn thing is *STILL* running!!!
>
> Where's my gun!?
>
> Cheers,
>
> David
>
David,
Ahh... you're using windows.
Try turning the computer off then back on again :).
Thanks,
Allan
|
|
|
Re: Well, this is interesting...Not! [message #57681 is a reply to message #57675] |
Wed, 19 December 2007 08:20  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> 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.
Alright, I opened up Doctor Death with CNLT-ALT-DELETE
and killed everything that has "IDL" or "ITTVIS" or "RSI"
anywhere in the name, and the damn thing is *STILL* running!!!
Where's my gun!?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Well, this is interesting...Not! [message #57682 is a reply to message #57681] |
Wed, 19 December 2007 08:20  |
sujian
Messages: 10 Registered: May 2007
|
Junior Member |
|
|
On Dec 19, 11:13 am, David Fanning <n...@dfanning.com> 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 Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
try to kill it in the task manager...
|
|
|