From 1eeb3a47f9772c6847439588101bec4b6dfa3656 2021-10-27 18:09:18 From: Matthias Bussonnier Date: 2021-10-27 18:09:18 Subject: [PATCH] Merge pull request #13218 from Carreau/int-pdb-default Set InterruptiblePdb as the default debugger. --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 37b3158..dc3c726 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 @@ -1832,7 +1832,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.