-
Notifications
You must be signed in to change notification settings - Fork 224
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
Run to line in the same frame #625
Labels
Comments
I like this idea. I feel like I've wished for that in the past. Patches welcome! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful to have some way to run to a given line but only within the same stack frame as the currently visible one.
The reason is that when debugging a recursive function, you often end up using
t
to run to a line, but it runs to the line in a recursive call. From there it becomes very difficult to get back to the context where you were. For highly recursive functions, it's very difficult to effectively debug them with pudb. If you could run to a given line without stopping in recursive calls, it would make debugging easier in these cases.It could also be useful to have this as an option for breakpoints, although that might be more complicated to implement.
The text was updated successfully, but these errors were encountered: