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

PR: Disable IPython's debugger skip functionality by default #458

Merged
merged 1 commit into from
Jun 11, 2023
Merged
Changes from all commits
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
11 changes: 11 additions & 0 deletions spyder_kernels/customize/spyderpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ def __init__(self, completekey='tab', stdin=None, stdout=None,
# Line received from the frontend
self._cmd_input_line = None

# This is not available in IPython 5
if hasattr(self, '_predicates'):
# Turn off IPython's debugger skip funcionality by default because
# it makes our debugger quite slow. It's also important to remark
# that this functionality doesn't do anything on its own. Users
# need to mark what frames they want to skip for it to be useful.
# So, we hope that knowledgeable users will find that they need to
# enable it in Spyder.
# Fixes spyder-ide/spyder#20639.
self._predicates["debuggerskip"] = False

# --- Methods overriden for code execution
def print_exclamation_warning(self):
"""Print pdb warning for exclamation mark."""
Expand Down
Loading