MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / dump_frames

Function dump_frames

_pydevd_bundle/pydevd_vars.py:40–47  ·  view source on GitHub ↗
(thread_id)

Source from the content-addressed store, hash-verified

38
39
40def dump_frames(thread_id):
41 sys.stdout.write("dumping frames\n")
42 if thread_id != get_current_thread_id(threading.current_thread()):
43 raise VariableError("find_frame: must execute on same thread")
44
45 frame = get_frame()
46 for frame in iter_frames(frame):
47 sys.stdout.write("%s\n" % pickle.dumps(frame))
48
49
50@silence_warnings_decorator

Callers

nothing calls this directly

Calls 6

get_current_thread_idFunction · 0.90
get_frameFunction · 0.90
VariableErrorClass · 0.85
iter_framesFunction · 0.85
dumpsMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected