-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improvement: add a shortcut to enter the debugger after an error occurs #5205
Comments
There's already a menu item to enter post mortem debugging in
I think that covers this use case, right? |
Well not exactly as I don't want to enter debugging every time. I was thinking of something like: "debbug last error in console" if I can't figure out what the error is about just by looking at the trace. |
I see. You can also enter debugging after an error occurs by using the |
Yes, but that is not very different from typing |
It's not a bad idea, and it shouldn't be that hard to implement. The only thing that is not quite clear to me is what icon to use for this in the Debug toolbar. You're welcome to give it a try! |
@goanpeca is working on a new icon set for Spyder 4, so we should wait until he replaces our current set for the new one before taking a look at this functionality. |
Quite often, when I run a script that crashes, I launch the debugger with:
It would be useful if there was a keyboard shortcut and a menu item to do that.
Also when the post mortem is launched, the corresponding file is not automatically opened, so I usually do a
u
thend
and the correct line appears.The text was updated successfully, but these errors were encountered: