Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Binary was not built with debug information

I am using Visual Studio 2013, .Net Framework 4.0, and C#.

I am trying to debug a file in my project. I have the project set to debug build in the project properties, with "optimize" unchecked. And yet, whenever I try to debug this project, it can't load the symbols. So I go to the modules window to load the symbols, and the dll has "Optimized" column set to "Yes", the "User Code" column set to "No", and the message "Binary was not built with debug information" in the Symbol Status column.

I have cleaned and rebuilt, reset iis, and manually cleaned out the temporary asp.net files numerous times, with no avail.

Anybody know how to solve this?

like image 312
tuseau Avatar asked Feb 13 '14 14:02

tuseau


People also ask

How do I enable debugging in Visual Studio?

In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5.


1 Answers

If your project is already in Debug mode. Please check Advanced Build Settings Dialog Box in Build tab of project.

Make sure that Debug Info is not set to none enter image description here Reference:

Stackoverflow

MSDN

like image 183
Abdul Rauf Avatar answered Oct 16 '22 16:10

Abdul Rauf