[Newbies] User Interrupt window

David T. Lewis lewis at mail.msen.com
Fri Dec 22 02:58:41 UTC 2017


On Thu, Dec 21, 2017 at 09:00:49PM -0500, obrienj wrote:
> Tried it but nothing changed.
> 
> Looking at Debugger's methods, it appears that typing the interrupt key opens a notifier (the User Interrupt window), which gives the user the option to abandon the interrupted process. Is there a way to add a method to a program so that typing the interrupt key simply abandons the running process without the notifier opening?
> 

Sure, there is probably a way to do that. But the most likely use case for
interrupting the system with the interrupt key is that something is going
wrong. You are trying to interrupt the process in which something bad is
happening, and you want to stop the bad thing from happening in such a way
that you can correct the problem, then proceed from that point.

For this kind of situation, the ideal solution is to open a debugger on
the failing process so that you can interact with it directly, correct the
problem, and then resume the interrupted process after you have addressed
the problem.

That is the reason for providing the notifier that allows you to enter
a debugger, or to do whatever else you may think may be necessary.

Dave



More information about the Beginners mailing list