(thread_id)
| 38 | |
| 39 | |
| 40 | def 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 |
nothing calls this directly
no test coverage detected