Loading ...

Visual Studio: The breakpoint will not currently be hit. no symbols have been loaded for this document | CodeAsp.Net

Visual Studio: The breakpoint will not currently be hit. no symbols have been loaded for this document

 /5
0 (0votes)

This message irritates me when I encounter this while debugging my code. I am writing the solution below by which this can be avoided.


Step 1:
Go to Build >> Configuration Manager and select "Debug" as the option for Active solution configuration.


 

Step 2 : Go to your web project properties >> Build >> General
Uncheck the Optimized code checkbox.

 

 

Step 3: Clean and Rebuild the project.

After doing the above steps ypur issue will be resolved and you can hit the debug symbols.

Comments (no comments yet)

Top Posts