Please note: If you find any post DOES NOT contain required amount of explanation, please do comment them with a request for more information. I will update as soon as I can attend to it. Also you can contact me with a link to the post.


Tuesday, August 12, 2008

The following module was built either with optimizations enabled or without debug information: Microsoft ASP.NET

Symptom: Solution includes a web project and a class library(may be more). But can not hit any break points in class library as it says ‘no symbols has been loaded’

  • Try 'Configuration Manager' – make sure all project configurations are set to ‘debug mode’ and clean the solution
  • Try web config – make sure you have set [debug=’true’] in compilation section.
  • Remove the assembly reference and try adding it again.

3 comments:

sszelei said...

I found a wonderful checkbox in the options under tools menu. Open the Debugging node on the tree and go to General. In here there are a number of values. Find the one that has the text "Enable Just My Code (Managed only)" Uncheck it and hit OK. See if that lets you debug into the code.

Charith Shyam Gunasekara said...
This comment has been removed by the author.
Charith Shyam Gunasekara said...

Thanks Sszelei, Thats quite useful.
Cheers

 

Copyrights(C) - Charith Gunasekara 2005-2010