New submission from Xavier de Gaye:

Pdb sets a handler for the SIGINT signal (which is sent when the user presses 
Ctrl-C on the console) when you give a continue command.
'continue' is not the only pdb command that may be interrupted, all the 
commands that resume the execution of the program (i.e. the 'do_xxx' Pdb 
methods that return 1), except for the ones that terminate pdb, should also set 
the SIGINT signal handler. These are the 'step', 'next', 'until' and 'return' 
commands.
For example, a 'next' command issued at the invocation of a function when the 
function is doing a long processing and the user wishes to break into pdb again 
with Ctrl-C within this function.

It is probably better to fix this issue after issue 20766 is fixed.

----------
components: Library (Lib)
messages: 224772
nosy: xdegaye
priority: normal
severity: normal
status: open
title: allow to break into pdb with Ctrl-C for all the commands that resume 
execution
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22135>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to