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

Method _select_frame

Lib/pdb.py:936–942  ·  view source on GitHub ↗
(self, number)

Source from the content-addressed store, hash-verified

934 do_bt = do_where
935
936 def _select_frame(self, number):
937 assert 0 <= number < len(self.stack)
938 self.curindex = number
939 self.curframe = self.stack[self.curindex][0]
940 self.curframe_locals = self.curframe.f_locals
941 self.print_stack_entry(self.stack[self.curindex])
942 self.lineno = None
943
944 def do_up(self, arg):
945 """u(p) [count]

Callers 2

do_upMethod · 0.95
do_downMethod · 0.95

Calls 2

print_stack_entryMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected