Someone was confused and thought this question was about a stack trace - I'm not asking about a stack trace, which is the call stack from a specific point in execution - I'm asking for the execution path, which necessarily includes the call stack from every method call in program execution synthesized into an arbitrary representation (usually a tree).
I'm wondering if there is an open source library that has tools for inspecting a method's execution path.
Ideally there would be some object constructed containing data regarding the execution path, like:
MyClass.myMethod() -> SomeClass.someMethod()
-> SomeClass.someMethod2()
-> OtherClass.otherMethod() -> FourthClass.fourMethod()
Where this is some sort of n-tree, or something. Ideally I'd have access to method names, parameter types, etc.
does anything like this exist? I expect I could build something like this with reflect, but I'd be happy if someone else already has.