Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I Demystify a string with the callstack? #178

Open
MagicAndre1981 opened this issue Nov 4, 2021 · 4 comments
Open

How can I Demystify a string with the callstack? #178

MagicAndre1981 opened this issue Nov 4, 2021 · 4 comments

Comments

@MagicAndre1981
Copy link

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?

@thomaslevesque
Copy link

Also interested in this. It would be very useful to help investigate issues in code not equipped with this library.

@MagicAndre1981
Copy link
Author

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.

@mitchcapper
Copy link
Contributor

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.

@MagicAndre1981
Copy link
Author

Highly unlikely.

ok, thanks for your information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants