Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-111744: Makebreakpoint() enter the debugger immediately#118579

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
brandtbucher merged 6 commits intopython:mainfromgaogaotiantian:pdb-breakpoint
May 5, 2024
Merged
Show file tree
Hide file tree
Changes from1 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
NextNext commit
Make breakpoint break immediately
  • Loading branch information
@gaogaotiantian
gaogaotiantian committedMay 4, 2024
commit2a35fbcb50817e4f4ccf27a1f14dd3914c625776
2 changes: 1 addition & 1 deletionLib/bdb.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -378,7 +378,7 @@ def set_trace(self, frame=None):
# We need f_trace_lines == True for the debugger to work
frame.f_trace_lines = True
frame = frame.f_back
self.set_step()
self.set_stepinstr()
sys.settrace(self.trace_dispatch)

def set_continue(self):
Expand Down
2 changes: 2 additions & 0 deletionsLib/pdb.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -431,6 +431,8 @@ def user_line(self, frame):
if self.bp_commands(frame):
self.interaction(frame, None)

user_opcode = user_line

def bp_commands(self, frame):
"""Call every command that was set for the current active breakpoint
(if there is one).
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp