This project is currently under development. APIs will change.
Declare Intraspector object
from intraspector import Intraspector
global intraspector
intraspector = Intraspector()
Add Intraspector decorator to functions you want recorded.
@intraspector.record()
def somefunction(args, kwargs):
secondCall(args)
@intraspector.record()
def secondCall(args):
dont_record_this()
def dont_record_this():
# Do something
Return Intraspector trace
if intraspector.get_debug_mode:
value['intraspector_trace'] = intraspector.get_trace()
Proudly developed by Bespoke Insights