Check following items –
DEBUGmode is selected while debuggingDebugoption is selected in Output window –
- See if breakpoint is hitting Debug.WriteLine in code
- Insert
Debug.AutoFlush = trueat the beginning of code - Try checking if Platform for the solution is set to Any CPU and not x86 (or x64).
- Goto Project Properties–> Web – In the Debugger section, check the the ASP.NET option
Reference for Point #5 (Read the comment, It worked for that guy)