-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipython5 use TerminalInteractiveShell debugger_cls solution for #105 #108
Conversation
from IPython.core.debugger import BdbQuit_excepthook | ||
from IPython.terminal.interactiveshell import TerminalInteractiveShell | ||
debugger_cls = TerminalInteractiveShell().debugger_cls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alternatively I was going to define it as a function rather than at import time, which now that I think about it, sounds much better.
@gotcha just a friendly reminder. |
I have this problem too, what can we do to get this fix merged? |
This fixes ipdb completely for me when im trying to work with twisted code. Thanks! |
Hi, I'm a new collaborator on ipdb. I'm looking to clean up all old issues and PRs. This one seems rather important. Could you give me just a brief executive summary why using debugger_cls solves the problem, I somehow fail to see the point. |
Ah, I see, there is this line in https://github.com/ipython/ipython/blob/master/IPython/terminal/interactiveshell.py#L115
Ok, merge is in the making. |
I merged the changes here: https://github.com/gotcha/ipdb/tree/fix-use-debugger_cls Could you check if that works for you? |
Will check this weekend, thanks! |
@gnebehay seems to work just fine with a quick test 👍 |
A solution for #105
It seems like a good place to start getting the ball rolling. Thoughts?