Lines Matching refs:stack_frame_ix
117 def sprint_func_name(stack_frame_ix=None): argument
129 if stack_frame_ix is None:
133 stack_frame_ix = 2
135 stack_frame_ix = 1
137 func_name = sys._getframe(stack_frame_ix).f_code.co_name
168 def get_arg_name(var, arg_num=1, stack_frame_ix=1): argument
233 if stack_frame_ix < 1:
237 + str(stack_frame_ix)
251 print_varx("stack_frame_ix", stack_frame_ix, indent=debug_indent)
265 ) = inspect.stack()[stack_frame_ix]
270 + str(stack_frame_ix)
283 stack_frame_ix += 1
286 print_varx("stack_frame_ix", stack_frame_ix, indent=debug_indent)
288 real_called_func_name = sprint_func_name(stack_frame_ix)
1419 def sprint_call_stack(indent=0, stack_frame_ix=0, style=None): argument
1457 if ix < stack_frame_ix:
1475 def sprint_executing(stack_frame_ix=None, style=None, max_width=None): argument
1494 if stack_frame_ix is None:
1498 stack_frame_ix = 2
1500 stack_frame_ix = 1
1503 stack_frame = inspect.stack()[stack_frame_ix]
1615 error_text="\n", indent=2, format=None, stack_frame_ix=None argument
1647 if not stack_frame_ix:
1651 stack_frame_ix = 1
1654 stack_frame_ix += 1
1657 stack_frame_ix += 1
1658 buffer += sprint_call_stack(indent, stack_frame_ix)