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

Method print_stack_trace

Lib/pdb.py:1454–1459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1452 # and down moves towards the most recent stack frame).
1453
1454 def print_stack_trace(self):
1455 try:
1456 for frame_lineno in self.stack:
1457 self.print_stack_entry(frame_lineno)
1458 except KeyboardInterrupt:
1459 pass
1460
1461 def print_stack_entry(self, frame_lineno, prompt_prefix=line_prefix):
1462 frame, lineno = frame_lineno

Callers 1

do_whereMethod · 0.95

Calls 1

print_stack_entryMethod · 0.95

Tested by

no test coverage detected