MCPcopy Index your code
hub / github.com/python/cpython / _select_frame

Method _select_frame

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

Source from the content-addressed store, hash-verified

1757 do_bt = do_where
1758
1759 def _select_frame(self, number):
1760 assert 0 <= number < len(self.stack)
1761 self.curindex = number
1762 self.curframe = self.stack[self.curindex][0]
1763 self.set_convenience_variable(self.curframe, '_frame', self.curframe)
1764 self.print_stack_entry(self.stack[self.curindex])
1765 self.lineno = None
1766
1767 def do_exceptions(self, arg):
1768 """exceptions [number]

Callers 2

do_upMethod · 0.95
do_downMethod · 0.95

Calls 2

print_stack_entryMethod · 0.95

Tested by

no test coverage detected