Visual Studio .NET Debugger Does Not Stop on Breakpoints When You Debug ASP.NET Pages

SYMPTOMS:



When you debug ASP.NET applications in Visual Studio .NET, the debugger may not stop on breakpoints.

CAUSE:



This problem occurs because ASP.NET debugging is not enabled on the application.

RESOLUTION:



To resolve this problem, follow these steps in Visual Studio .NET:
1. In Solution Explorer, select the project name.
2. From the Project menu, click Properties.
3. Click to expand the Configuration Properties node.
4. Under Debugging, in the Enable ASP.NET Debugging list, click True.


Comments

Author: Swapneel Talera16 Feb 2009 Member Level: Bronze   Points : 0

it still does not help me resolve the problem.

Author: Mohit Jain17 Feb 2009 Member Level: Gold   Points : 2

Hi Swapneel,

The other solutions you can try to resolve the same problem are as follows
1) Check the web.config file of your applications and see whether debug attribute of compilation node of System.Web node is set to "true" or "false". If it is set to false then set it to "true".
2) Delete ASP.Net temporary files from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
3) Right click on solution in Solution Explorer, select Configuration Manager, a window will be opened, Make sure Active solution configuration ia set to Debug. Because Release mode removes the pdf file which contains the debugging info.

Author: Duncan24 Feb 2010 Member Level: Bronze   Points : 2

I had the same problem.
In my case the cause was Internet Explorer 8.
Try closing down all instances of IE8 and then run through the debugger.

The below link gives suggestions to more permanent solutions.

http://dpotter.net/Technical/2009/05/upgrading-to-ie8-breaks-debugging-with-visual-studio-2005/

Author: chrisy04 May 2010 Member Level: Bronze   Points : 1

I had the same problem.
Internet Explorer 8 has some issue with visual studio.
Try closing down all instances of IE8 and then run through the debugger.

Also check in web.config file

debug="true"



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: