S
skunkwerk
Hi,
I'm writing a custom profiler that uses sys.settrace. I was wondering ifthere was any way of tracing the assignments of variables inside a function as its executed, without looking at locals() at every single line and comparing them to see if anything has changed.
Sort of like xdebug's collect_assignments parameter in PHP.
thanks,
imran
I'm writing a custom profiler that uses sys.settrace. I was wondering ifthere was any way of tracing the assignments of variables inside a function as its executed, without looking at locals() at every single line and comparing them to see if anything has changed.
Sort of like xdebug's collect_assignments parameter in PHP.
thanks,
imran