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

Method _debug_exec

IPython/core/magics/execution.py:485–491  ·  view source on GitHub ↗
(self, code, breakpoint)

Source from the content-addressed store, hash-verified

483 self.shell.debugger(force=True)
484
485 def _debug_exec(self, code, breakpoint):
486 if breakpoint:
487 (filename, bp_line) = breakpoint.rsplit(':', 1)
488 bp_line = int(bp_line)
489 else:
490 (filename, bp_line) = (None, None)
491 self._run_with_debugger(code, self.shell.user_ns, filename, bp_line)
492
493 @line_magic
494 def tb(self, s):

Callers 1

debugMethod · 0.95

Calls 1

_run_with_debuggerMethod · 0.95

Tested by

no test coverage detected