MCPcopy Index your code
hub / github.com/ipython/ipython / _debug_exec

Method _debug_exec

IPython/core/magics/execution.py:499–507  ·  view source on GitHub ↗
(self, code, breakpoint, local_ns=None)

Source from the content-addressed store, hash-verified

497 self.shell.debugger(force=True)
498
499 def _debug_exec(self, code, breakpoint, local_ns=None):
500 if breakpoint:
501 (filename, bp_line) = breakpoint.rsplit(':', 1)
502 bp_line = int(bp_line)
503 else:
504 (filename, bp_line) = (None, None)
505 self._run_with_debugger(
506 code, self.shell.user_ns, filename, bp_line, local_ns=local_ns
507 )
508
509 @line_magic
510 def tb(self, s):

Callers 1

debugMethod · 0.95

Calls 1

_run_with_debuggerMethod · 0.95

Tested by

no test coverage detected