Get the call stack in a 'pdb' debugger session, filtering out the 'pdb' functions that polute the graph.
(begin_functions=[("trace_dispatch",1)],
end_functions=["<module>"],
stack_index=0)
| 301 | return stack_frames_to_dict(frame_infos[stack_index:]) |
| 302 | |
| 303 | def stack_pdb(begin_functions=[("trace_dispatch",1)], |
| 304 | end_functions=["<module>"], |
| 305 | stack_index=0): |
| 306 | """ Get the call stack in a 'pdb' debugger session, filtering out the 'pdb' functions that polute the graph. """ |
| 307 | return stack_slice(begin_functions, end_functions, stack_index) |
| 308 | |
| 309 | def stack_vscode(begin_functions=[("_line_event",1), ("_return_event",1), ("do_wait_suspend",1), ("_do_wait_suspend",2)], |
| 310 | end_functions=["<module>"], |
nothing calls this directly
no test coverage detected