How can I Demystify a string with the callstack?
MagicAndre1981 opened this issue · comments
I get a string from a library (without source and chance to get it updated) with a callstack of the operation. This includes all junk, but now I'm a bit lost as EnhancedStackTrace
doesn't have a constructor to pass a string with the stack.
How can I demystify a string with the callstack?
Also interested in this. It would be very useful to help investigate issues in code not equipped with this library.
I never got a replay from @benaadams so I have no idea if this is possible. Maybe it requires an API change in the runtime to create a StackTrace object from a string.
Highly unlikely. Right now this uses the stack frames and assembly information to resolve things to readable strings (and skip fluff). You might be able to somewhat cleanup a stringified stacktrace but even then would need the reference assemblies and to write your own parser. There is more data in a true ST than what ToString shows.
Highly unlikely.
ok, thanks for your information.