Laith
Laith

Reputation: 6091

How do I follow .Net Native cryptic stack-trace?

Since UWP requires .Net Native (which is very welcome), I'm getting cryptic stack-traces now. This is the exception reported by people using my app:

System.InvalidCastException: InvalidCast_Com 
at SharedLibrary!<BaseAddress>+0x429e9d 
at SharedLibrary!<BaseAddress>+0x47d878 
at SharedLibrary!<BaseAddress>+0x48455a 
at SharedLibrary!<BaseAddress>+0x499043 
at SharedLibrary!<BaseAddress>+0x498fb7 
at SharedLibrary!<BaseAddress>+0x5ea468 
at SharedLibrary!<BaseAddress>+0x5ea418 
// this goes on...

I understand there's an invalid cast somewhere... but I need to know what SharedLibrary!<BaseAddress>+0x429e9d is pointing to.

Is there a way to find where these links point to?

Upvotes: 10

Views: 612

Answers (1)

Andrew Au
Andrew Au

Reputation: 832

There is a tool in GitHub that can decipher .Net Native stack traces into human readable format.

https://github.com/dotnet/corefx-tools/tree/master/src/StackParser

Upvotes: 1

Related Questions