Skip to content
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

Breakpoints with multiple files #100427

Open
Friedrich2 opened this issue Dec 22, 2022 · 0 comments
Open

Breakpoints with multiple files #100427

Friedrich2 opened this issue Dec 22, 2022 · 0 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@Friedrich2
Copy link

Friedrich2 commented Dec 22, 2022

Bug report

Consider the following structure:
a.py (foo())
'- b.py (bar())
meaning that a.py with foo() calls some function from b.py, namely bar().

Now, add a breakpoint to b.py and let the debugging begin. You will see that the debugger seems to simply overlook the breakpoint in b.py. In other words: Breakpoints are only accepted, if the next line to be executed before clicking on "Go" is in the same file.

This is rather bothersome and does work correctly in other IDEs like Qt for C++.

The solution

Please "step down" to a breakpoint by design.

Your environment

  • CPython versions tested on: 3.11.1
  • Operating system and architecture: Windows 10
@Friedrich2 Friedrich2 added the type-bug An unexpected behavior, bug, or error label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant