inducer / inducer/pudb

Run to line in the same frame

Open
#625 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.