TODO for me personally: check how it's different from ~/projects/tango-advisor/backend/src/tools/private/traceTree
TODO: I recently discovered that special variable arguments
of non anonymous functions (function () {}
) has property callee that can be quite usefull in rendering traces. Maybe it would be cool to start using it in code somewhere
interface IArguments {
[index: number]: any;
length: number;
callee: Function;
}
There is also something similar exists for python: Eliot
This library allows devs to record smart traces of functions and beatifully render them. There is still a lot of work to be done, I hope I'll do it at some point. If you like this library, give it a star, it REALLY motivates me to work on this