How do you stop a runaway program? [message #1761109] |
Sun, 07 May 2017 00:02 |
Chuck Pergiel Messages: 30 Registered: April 2016 Location: Silicon Forest |
Member |
|
|
I put in a bunch of printf statements to help me track down a bug. Finally found the problem (by careful examination of the code, not from any debug work). Compiled it and let it run (just RUN, not DEBUG RUN) and boy howdy, did it run, spewing zillions of lines output. Okay, looks like it's fixed, now how do you stop it? Looked here and there and didn't find anything that looked likely. Not a problem now since it has finished, and it probably won't be a problem again, since I learned my lesson. But if there is a stop button, I probably should learn where it is. Yes, I could shut down the whole program, or pull the power, but that takes seconds, possibly even a minute to recover from that, and ain't nobody got time for that.
Sent from my Commodore-64 via a US Robotics 300 Baud Modem
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.89520 seconds