Get the call stack in a 'cursor' debugger session, filtering out the 'cursor' functions that polute the graph.
(begin_functions=[("_line_event",1), ("_return_event",1), ("do_wait_suspend",1), ("_do_wait_suspend",2)],
end_functions=["<module>"],
stack_index=0)
| 313 | return stack_slice(begin_functions, end_functions, stack_index) |
| 314 | |
| 315 | def stack_cursor(begin_functions=[("_line_event",1), ("_return_event",1), ("do_wait_suspend",1), ("_do_wait_suspend",2)], |
| 316 | end_functions=["<module>"], |
| 317 | stack_index=0): |
| 318 | """ Get the call stack in a 'cursor' debugger session, filtering out the 'cursor' functions that polute the graph. """ |
| 319 | return stack_slice(begin_functions, end_functions, stack_index) |
| 320 | |
| 321 | def stack_pycharm(begin_functions=[("py_line_callback",1), ("py_return_callback",1), ("do_wait_suspend",2)], |
| 322 | end_functions=["<module>"], |