Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug through .NET Framework source code?

Tags:

I've followed the steps outlined in http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx to enable source debugging of the .NET Framework, and I had it working in the past. Now that I'm using .NET 3.5 SP1, it seems to have stopped working. Beyond the steps in the blog entry I just mentioned, what special steps can I make to get source debugging working again?

like image 347
Andrew Arnott Avatar asked Dec 17 '08 06:12

Andrew Arnott


People also ask

How do I Debug .NET core source code?

To debug . NET and ASP.NET Core source code in Visual Studio: In Tools -> Options -> Debugging -> General, un-check Enable Just My Code. Verify Enable Source Link support is checked.

How do you Debug a source code?

To use source debugging, you must have your compiler or linker create symbol files (. pdb files) when the binaries are built. These symbol files show the debugger how the binary instructions correspond to the source lines. Also, the debugger must be able to access the actual source files.

How do I Debug a .NET Web service?

Troubleshoot debugging Start the web app from IIS, and make sure it runs correctly. Leave the web app running. From Visual Studio, select Debug > Attach to Process or press Ctrl+Alt+P, and connect to the ASP.NET or ASP.NET Core process (typically w3wp.exe or dotnet.exe).


1 Answers

This is broken in the latest GDR, Microsoft needs to fix it

like image 106
Ana Betts Avatar answered Sep 21 '22 01:09

Ana Betts