MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_trace

Method set_trace

Lib/pdb.py:188–195  ·  view source on GitHub ↗
(self, frame=None, *, commands=None)

Source from the content-addressed store, hash-verified

186 # defining a list
187
188 def set_trace(self, frame=None, *, commands=None):
189 if frame is None:
190 frame = sys._getframe().f_back
191
192 if commands is not None:
193 self.rcLines.extend(commands)
194
195 super().set_trace(frame)
196
197 def sigint_handler(self, signum, frame):
198 if self.allow_kbdint:

Callers 2

sigint_handlerMethod · 0.95
set_traceFunction · 0.95

Calls 2

superClass · 0.85
extendMethod · 0.45

Tested by

no test coverage detected