8000 gh-59013: Set breakpoint on the first executable line in pdb when using `break func` by gaogaotiantian · Pull Request #112470 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-59013: Set breakpoint on the first executable line in pdb when using break func #112470

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

Merged
merged 6 commits into from
Jan 31, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add line number to the code
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
gaogaotiantian and iritkatriel authored Jan 30, 2024
commit bb1f81ac501f47f4750496d29a33533ce20ddeec
6 changes: 3 additions & 3 deletions Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2622,15 +2622,15 @@ def test_find_function_first_executable_line(self):
def foo(): pass

def bar():
pass
pass # line 4

def baz():
# comment
pass
pass # line 8

def mul():
# code on multiple lines
code = compile(
code = compile( # line 12
'def f()',
'<string>',
'exec',
Expand Down
0