MCPcopy Create free account
hub / github.com/bterwijn/memory_graph / stack_pycharm

Function stack_pycharm

memory_graph/__init__.py:321–325  ·  view source on GitHub ↗

Get the call stack in a 'pycharm' debugger session, filtering out the 'pycharm' functions that polute the graph.

(begin_functions=[("py_line_callback",1), ("py_return_callback",1), ("do_wait_suspend",2)],
                  end_functions=["<module>"],
                  stack_index=0)

Source from the content-addressed store, hash-verified

319 return stack_slice(begin_functions, end_functions, stack_index)
320
321def stack_pycharm(begin_functions=[("py_line_callback",1), ("py_return_callback",1), ("do_wait_suspend",2)],
322 end_functions=["<module>"],
323 stack_index=0):
324 """ Get the call stack in a 'pycharm' debugger session, filtering out the 'pycharm' functions that polute the graph. """
325 return stack_slice(begin_functions, end_functions, stack_index)
326
327def stack_wing(begin_functions=[("_py_line_event",1), ("_py_return_event",1)],
328 end_functions=["<module>"],

Callers 1

pycharmFunction · 0.85

Calls 1

stack_sliceFunction · 0.85

Tested by

no test coverage detected