Wednesday, March 17, 2010

No errors when debugging but breakpoints are not hit on Visual Studio



In order to fix this problem you need to be sure that all the modules in your project are enabled for debugging, some times the main is enabled but the rest are not, this would give you the apparency of no errors but breakpoints on the modules not enabled will cause the debugging to stop.

To enable debugging right click on each project and select "Properties".
A window like the one on the image below should appear.
On 'Enable ASP.NET Debugging" select "True"
Click "Apply" then close.
The debug has been enabled for this module, repeat the process for all projects.






No comments:

Post a Comment