Get the call stack in a 'wing' debugger session, filtering out the 'wing' functions that polute the graph.
(begin_functions=[("_py_line_event",1), ("_py_return_event",1)],
end_functions=["<module>"],
stack_index=0)
| 325 | return stack_slice(begin_functions, end_functions, stack_index) |
| 326 | |
| 327 | def stack_wing(begin_functions=[("_py_line_event",1), ("_py_return_event",1)], |
| 328 | end_functions=["<module>"], |
| 329 | stack_index=0): |
| 330 | """ Get the call stack in a 'wing' debugger session, filtering out the 'wing' functions that polute the graph. """ |
| 331 | return stack_slice(begin_functions, end_functions, stack_index) |
| 332 | |
| 333 | |
| 334 | banned_vscode_jupyter_strings = ['pydevd', 'debugpy', 'ipython', 'ipykernel', 'asyncio', 'tornado', 'traitlets', 'runpy'] |