Syntactic Confectionery Delight | |
PerlMonks |
Stopping hanging commands (evals) within debuggerby LanX (Saint) |
on Dec 16, 2012 at 21:42 UTC ( [id://1009096]=perlquestion: print w/replies, xml ) | Need Help?? |
LanX has asked for the wisdom of the Perl Monks concerning the following question:
hi I'm more and more using my modified debugger as a shell replacement for bash. But one thing bugs me, long running commands like loops can't be stopped by Ctrl-c. The only way I know to stop a hanging command is to Ctrl-z and then killing the whole debugger-process (including the unsaved history) Any suggestions how I can avoid this? Maybe I can patch the eval to react on signals? Cheers Rolf
Back to
Seekers of Perl Wisdom
|
|