The following forum message was posted by slacoste at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4560271:

Hi, I find it a major inconvenience that I am not able to send a 
KeyboardInterrupt
(using CTRL+C e.g.) in the PyDev interactive console (unlike the normal Python
interpreter). I am also surprised that it seems that not many people mentioned
it -- the only reference to it that I found was
[url=http://sourceforge.net/projects/pydev/forums/forum/293649/topic/1555468?mes
sage=3874946]this one[/url].

Is there really no way to include a more gentle interrupt than the SIGTERM from
the red square button in PyDev? Like adding a 'stop execution' button (rather
than 'kill whole program').

The reason I ask is that whenever I code in Python I just seem to make heavy
use of CTRL+C. Maybe because I mistyped something, and I want to interrupt the
current flow; or a function will take forever to return (often due to a bug)
and I just want to interrupt it. But I don't want to kill the whole program
as I already had loaded several other data-structures which took a long time
to build. I make heavy use of reload(<module>) for debugging and exploration
purposes. Am I the only one?

Thanks,

Simon

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to