Symbol solution on .NET 4.0 NGEN x64 not working

My character resolution on the x64 NGEN.NET 4.0 assembly does not work.

More details:

I have a .NET 4.0 command line assembly that I am compiling using Visual Studio with x64 configuration. After compiling, I run NGEN (64-bit) on it.

I could not use XPERF to parse calls (with the -stackwalk profile) that would not allow my characters. Now I'm trying to use Perfmonitor: http://bcl.codeplex.com/releases/view/42784

I took these steps and expected the call stacks to be resolved:

  • Launch the x64 application for NGEN.
  • Perfmonitor collect
  • Perfmonitor Association
  • Perfmonitor Analysis

... Unfortunately, stack traces also do not work in PerfMonitor.

I also tried to run the application as 32-bit - the same thing. My characters look great with symchk / v

I am at a loss on how to debug this functionality with broken stacks.

+1
source share
2 answers

Not sure if I understand correctly, but you need to create NGEN profile assemblies.

IOW: ngen install ass.dll /profile

+1
source

You need the xperf version from the Windows 8 SDK. This version supports .net. Start tracing with the new Performance Recorder user interface, and this tool generates PDBs for ngened.net components so that xperfview and WPA can decode the column.

0
source

Source: https://habr.com/ru/post/1501701/


All Articles