Your Location is: Home > Visual-studio-debugging

Unable to step into PresentationFramework

From: Warsaw View: 4299 sondergard 


I am trying to step into PresentationFramework, but the debugger just skips ahead to the next line.

  • I have loaded the symbols using the Modules window. PresentationFramework assembly path & version Loaded symbols path & version
  • I have enabled .NET Framework source stepping
  • I have disabled Just My Code

I have used resharper to generate pdb and decompile the source, but stepping through those is really difficult. Partly because many variables have generic names (num1, num2 etc), but mostly because the debugger seemingly just around somewhat randomly - sometimes skipping lines, sometimes jumping backwards...

I have downloaded the .Net 4.7.2 source code from reference source; is there any way to step into that?

Best answer

So what did work was to upgrade to .Net 4.8. Maybe it only will until Microsoft releases a new version, but, for now, at least it works.