Code breakpoints do not fall

a common problem, I think, but still could not solve the problem:

my breakpoints (asp.net 2.0) fall well in the backend builds, but not in the code behind.

I even see <% Response.CacheControl = "no-cache"; %> is deleted in my main asp.net file but still not the code.

I am using VS 2005, Windows 7 32 bit. Any idea what else I can check?

+3
source share
5 answers

If your code file is newer than the compiled version that is running (on the web server, whether IIS or dev server), the breakpoints will not be deleted (red circles will be hollow).

Try to do a clean / rebuild and see if this works.

EDIT:

- ; , asp.net. ? w3wp.exe.

+5

, , . :

  • - .
  • .
  • .
  • , ​​ none.
+3

, , , , ,

1 - Visual Studio "" > "Windows" > "". IDE , , .

2 - DLL Symbol.

3 - " ", , . - PDB, , " " PDB.

4 - ,

IDE

nuke obj bin

IDE

""

PDB , Symbol " ", .

, !

+2

In my case, I updated my repo from Git, and the project was changed from Local IIS to IIS Express (Project> Properties> Web tab). This somehow messed up my configuration and I was not able to debug.

0
source

My problem was fixed by installing "Startup Project"

Solution Explorer -> Right-click the project -> Set as launch project

or

Menu bar → PROJECT or WEBSITE → Set as launch project

0
source

All Articles