From f336aad0d238acb676fcc56512a7033c7fe0646e 2020-07-23 06:24:23 From: Quentin Peter Date: 2020-07-23 06:24:23 Subject: [PATCH] Update debugger.py --- diff --git a/IPython/core/debugger.py b/IPython/core/debugger.py index 5b4f06e..bf0a8ef 100644 --- a/IPython/core/debugger.py +++ b/IPython/core/debugger.py @@ -675,6 +675,8 @@ class Pdb(OldPdb): if not super().stop_here(frame): return False if self.skip_hidden and frame.f_locals.get("__tracebackhide__", False): + if self._wait_for_mainpyfile: + return False Colors = self.color_scheme_table.active_colors ColorsNormal = Colors.Normal print(f"{Colors.excName} [... skipped 1 hidden frame]{ColorsNormal}\n")