It looks like the order of the parameters to trace_on may have changed, and what to trace has to come first.
https://pypi.python.org/pypi/function_trace
Here's what I did to try imageio library -
with trace_on([imageio], StdoutTracer(mapcat(all, [imageio, imageio.plugins.freeimage.FreeimagePngFormat.Reader]), depths={imageio.read: 4})):
imageio.imread(fn, 'PNG-FI')
TBH I had no idea if this is working properly as it's the first time I've used this library.
When it comes to examples it would be great if there were some full ones with the classes they are tracing included, or just ones that trace functions that come with the python stdlib.
It looks like the order of the parameters to trace_on may have changed, and what to trace has to come first.
https://pypi.python.org/pypi/function_trace
Here's what I did to try imageio library -
TBH I had no idea if this is working properly as it's the first time I've used this library.
When it comes to examples it would be great if there were some full ones with the classes they are tracing included, or just ones that trace functions that come with the python stdlib.