cstjean / TraceCalls.jl

A debugging and profiling tool for Julia
Other
46 stars 4 forks source link

Bring back traceable!(...) #16

Closed cstjean closed 7 years ago

cstjean commented 7 years ago

This will be good for extended debugging session. We can have the following interface:

tu = traceable!(...)
@trace ...
revert!(tu)

or maybe just tracing!(...)/stop_tracing!() the same way I envisioned it before, but just storing the code-to-be-reverted in a global vector.

cstjean commented 7 years ago

The main issue with this is cache invalidation if Revise/ClobberingReload/Atom strike...

cstjean commented 7 years ago

Bleh, this is more trouble than it's worth.