MCPcopy Create free account
hub / github.com/ipython/ipython / stop_here

Method stop_here

IPython/core/debugger.py:673–684  ·  view source on GitHub ↗

Check if pdb should stop here

(self, frame)

Source from the content-addressed store, hash-verified

671 do_w = do_where
672
673 def stop_here(self, frame):
674 """Check if pdb should stop here"""
675 if not super().stop_here(frame):
676 return False
677 if self.skip_hidden and frame.f_locals.get("__tracebackhide__", False):
678 if self._wait_for_mainpyfile:
679 return False
680 Colors = self.color_scheme_table.active_colors
681 ColorsNormal = Colors.Normal
682 print(f"{Colors.excName} [... skipped 1 hidden frame]{ColorsNormal}\n")
683 return False
684 return True
685
686 def do_up(self, arg):
687 """u(p) [count]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected