[issue14111] IDLE Debugger should handle interrupts

2020-12-04 Thread Mark Roseman
Mark Roseman added the comment: Terry, I agree that Ctrl-C should act just as an interrupt when the debugger is active. I also agree that a way to interrupt the debugger through the user interface is needed (in the revised UI, there's an explicit 'stop' button for that). -- ___

[issue14111] IDLE Debugger should handle interrupts

2020-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, since you are working on redoing the debugger gui, do you have any opinion on this? The basic idea is that ^C when debugging should just interrupt the remote process, not end it, just as when there is no debugger. I agree. I just updated the PR to c

[issue14111] IDLE Debugger should handle interrupts

2017-05-25 Thread Louie Lu
Louie Lu added the comment: The patch is upload to PR 1821, if Roger get a GitHub account and linked to b.p.o, we can rebase the first commit and change the author in commit message to Roger's account information. -- ___ Python tracker

[issue14111] IDLE Debugger should handle interrupts

2017-05-25 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1907 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue14111] IDLE Debugger should handle interrupts

2017-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Roger, Python development has moved from hg and out private server to git and GitHub. Patches posted on the tracker must be converted to git pull requests (PRs) to be merged, and also for proper review and editing. Unless you prefer to do it yourself, we wil

[issue14111] IDLE Debugger should handle interrupts

2017-05-25 Thread Louie Lu
Louie Lu added the comment: Roger, will you convert the patch to GitHub PR? The patch runs will, there are only two point need to add: 1. user_interrupt should clear sys.settrace when step in 2. cancel_callback add a interp.write("\nKeyboardInterrupt\n") Thanks. -- _

[issue14111] IDLE Debugger should handle interrupts

2017-05-24 Thread Louie Lu
Louie Lu added the comment: Update roger's patch to current version. Is there any reason this patch isn't merged? The problem in #26949 is a separate issue about this problem. -- Added file: http://bugs.python.org/file46893/0001-WIP.patch ___ Python

[issue14111] IDLE Debugger should handle interrupts

2017-05-24 Thread Louie Lu
Louie Lu added the comment: The reproduce step can be reduce to: 1. open idlelib with debugger (./python -m idlelib -d) 2. enter print() (or any other function call) 3. Control-C breakout Then it will restart the shell. -- nosy: +louielu ___ Python

[issue14111] IDLE Debugger should handle interrupts

2016-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: More info: Even though the debug window looks inactive, it is not. After the restart, debugger cannot be turned off because it is 'active'. It must be stuck on the raise statement. The window can be closed, but after that, it cannot be brought back because

[issue14111] IDLE Debugger should handle interrupts

2016-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'raise KeyboardInterrupt' in code causes shell to hang until Restart Shell Cntl-F6 in invoked. >>> [DEBUG ON] >>> raise KeyboardInterrupt === RESTART: Shell === [DEBUG ON] >>> The behavior was noted b

[issue14111] IDLE Debugger should handle interrupts

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue14111] IDLE Debugger should handle interrupts

2014-07-30 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14111] IDLE Debugger should handle interrupts

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14111] IDLE Debugger should handle interrupts

2012-02-26 Thread Roger Serwy
Roger Serwy added the comment: I can confirm the issue Larry's raises. Attached is a patch against 2.7 to enable Ctrl+C interrupts for the debugger. The patch opens up the possibility of making "Go" a toggle button, but that would require some more plumbing (not included in patch). A "run" i

[issue14111] IDLE Debugger should handle interrupts

2012-02-24 Thread Larry A. Taylor
New submission from Larry A. Taylor : The attached script runs a long processing loop. Start it in IDLE. Open the script and run it. Press control-C. Result: message, KeyboardInterrupt with traceback message. In shell window, turn on Debugger. Run the script. Press control-C. Result: Restrat