windows 8 - Unable to debug Win 8 app using Mixed (Managed and Native) debugger -
in winrt app when switching debugger type mixed (from managed), application fails start.. pausing debugger shows execution at:
static void main(string[] args) { global::windows.ui.xaml.application.start((p) => new app()); }
the output window continually shows eetypeloadexceptions different memory locations:
first-chance exception @ 0x757e4b32 in applicationname.exe: microsoft c++ exception: eetypeloadexception @ memory location 0x0bf7d134.
it looks clr exception is:
clr:(c:\windows\microsoft.net\assembly\gac_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll) rejecting native image because native image dependency c:\windows\microsoft.net\assembly\gac_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll had different identity expected
i need use native debugger sos debugging extension (sos.dll)
when creating new blank app , adding same dependencies app, don't experience problem, specific app.
any ideas on issue or how troubleshoot further? experience using sos debugging extension (sos.dll) winrt apps?
i had managed application calling native com objects in turn call managed com instances. @ point when native com calling managed com object eetypeloadexception thrown.
it turned out had several assemblies in different projects with same name (common.dll). assemblies unsigned .net runtime not load 2 different assemblies same name , reported problem through eetypeloadexception.
i wish diagnostics more detailed @ least it's resolved in case.
Comments
Post a Comment