In the past, perhaps versions of Visual Studio prior to the 2008 that I am using now, I would do something like this in my VB.NET code:
System.Diagnostics.De
It happens. I have the similar symptom when I am developing ASP.NET MVC applications on Visual Studio 2010 web developer Express Edition. The execution doesn't break at the breakpoint. There is no output when it executes System.Diagnostic.Debug.Writeline
(even though it runs with debug start), and there is nothing wrong with web.config
.
My workaround is: - Goto project properties--> web - In the Debugger section, check the the ASP.NET option
Hope this helps someone who comes across this thread.