MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _select_frame

Method _select_frame

tools/python-3.11.9-amd64/Lib/pdb.py:994–1000  ·  view source on GitHub ↗
(self, number)

Source from the content-addressed store, hash-verified

992 do_bt = do_where
993
994 def _select_frame(self, number):
995 assert 0 <= number < len(self.stack)
996 self.curindex = number
997 self.curframe = self.stack[self.curindex][0]
998 self.curframe_locals = self.curframe.f_locals
999 self.print_stack_entry(self.stack[self.curindex])
1000 self.lineno = None
1001
1002 def do_up(self, arg):
1003 """u(p) [count]

Callers 2

do_upMethod · 0.95
do_downMethod · 0.95

Calls 1

print_stack_entryMethod · 0.95

Tested by

no test coverage detected