Link to home
Start Free TrialLog in
Avatar of MrDerp
MrDerpFlag for United Kingdom of Great Britain and Northern Ireland

asked on

When Debugging Vis Studio skips past all my breakpoints

I have a large ASP.NET web project, created and compiled in visual studio 2003 (running windows XP) and running on a remote web server (windows server 2003, IIS 6.0).
I have set a bunch of breakpoints, but when I run the project, 80% of the time the site will execute without hitting any of them.
The site builds and runs fine, but it wont break where I need it to.

Restarting IIS and Vis Studio will sometimes solve it - but not always.

Because its such a large site it is taking 2-3 minutes per build, so having to build it 3 or 4 times to get it to debug properly is quite a time sink.
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Are you sure that you have it in debug-mode and not in release-mode ?
Avatar of MrDerp

ASKER

100% sure.
It works sometimesby doing exactly the same thing, not even making changes just restarting VS.
ASKER CERTIFIED SOLUTION
Avatar of samtran0331
samtran0331
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
make sure you are in Debug mode and that the Generate Debug option is not "None" (Advanced Compiler Options) -- and if they don't work, try cleaning & rebuilding the solution, then restarting Visual Studio

BUG: Debugger skips client-side breakpoints in ASP.NET projects
http://support.microsoft.com/kb/317094
Avatar of MrDerp

ASKER

there was no clean solution option in vs2003, but deleting the /obj and .pdb files seemed to fix it up great thanks.