Visual Studio .NET debugger doesn't stop on breakpoints when you debug ASP.NET pages

This article helps you resolve a problem where the debugger doesn't stop on breakpoints when you debug ASP.NET applications in Microsoft Visual Studio .NET.

Original product version:   Visual Studio, ASP.NET
Original KB number:   306169

Symptoms

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

Cause

This problem occurs because ASP.NET debugging isn't enabled on the application.

Resolution

To resolve this problem, follow these steps in Visual Studio .NET:

  1. Right-click your project from the Solution Explorer, and then click Properties.
  2. Click the Web tab.
  3. Under Debuggers, check the ASP.NET checkbox.

Screenshot of the Web menu with the ASP.NET option checked.