ambush
This is a debug toolbox.
- Free software: 3-clause BSD license
- Documentation: (COMING SOON!) https://ke-zhang-rd.github.io/ambush.
Features
Example:
Output:
Who is calling current function
=========================================================
In file:
/Users/kz2249/tmp/main.py
class Primary:
# by caller function:
def foo in line 6
...
# actually call:
m.bar() # in line 10
...
Peek:
---------------------------------------------------------
def foo(self):
a = 1
a = a + 1
m = Member()
m.bar()
a = a + 1
a = a + 1
=========================================================