From 5d52a25118ae2d8ed1ad482669f784eb2dd3706d 2021-10-28 01:26:59 From: Matthias Bussonnier Date: 2021-10-28 01:26:59 Subject: [PATCH] Merge pull request #13222 from meeseeksmachine/auto-backport-of-pr-13218-on-7.x Backport PR #13218 on branch 7.x (Set InterruptiblePdb as the default debugger.) --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 4ae21e4..71c5cf1 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -43,7 +43,7 @@ from IPython.core.autocall import ExitAutocall from IPython.core.builtin_trap import BuiltinTrap from IPython.core.events import EventManager, available_events from IPython.core.compilerop import CachingCompiler, check_linecache_ipython -from IPython.core.debugger import Pdb +from IPython.core.debugger import InterruptiblePdb from IPython.core.display_trap import DisplayTrap from IPython.core.displayhook import DisplayHook from IPython.core.displaypub import DisplayPublisher @@ -1823,7 +1823,7 @@ class InteractiveShell(SingletonConfigurable): # Things related to exception handling and tracebacks (not debugging) #------------------------------------------------------------------------- - debugger_cls = Pdb + debugger_cls = InterruptiblePdb def init_traceback_handlers(self, custom_exceptions): # Syntax error handler.