This function is used as a decorate on a function to have the calling stack printed whenever that function is entered.
This can be used like so:
@print_tb def some_deeply_nested_function(...):
yt.funcs.pdb_run
yt.funcs.rootonly
Enter search terms or a module, class or function name.