8000 gh-111744: Support opcode events in bdb by gaogaotiantian · Pull Request #111834 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-111744: Support opcode events in bdb #111834

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 8 commits into from
May 4, 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
Update Lib/bdb.py
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
  • Loading branch information
gaogaotiantian and brandtbucher authored May 4, 2024
commit a91fe16b0da34c1cddb09f3b0562a02ba61f730e
6 changes: 1 addition & 5 deletions Lib/bdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,7 @@ def _set_stopinfo(self, stopframe, returnframe, stoplineno=0, opcode=False):
# stoplineno >= 0 means: stop at line >= the stoplineno
# stoplineno -1 means: don't stop at all
self.stoplineno = stoplineno
if opcode:
# We are stopping at opcode level
self._set_trace_opcodes(True)
else:
self._set_trace_opcodes(False)
self._set_trace_opcodes(opcode)

def _set_caller_tracefunc(self):
# Issue #13183: pdb skips frames after hitting a breakpoint and running
Expand Down
0