Visual Studio .Net - breakpoint - NOT breaking

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am working with Visual Studio .Net and XP-Pro. Why / What have I done that
a breakpoint won't stop in debug? I have used the debug before and all went
well? I have tried starting with Debug (F5) and even tried starting with
StepInto (F11)... The app runs and I see results of code -so- I know the
breakpoint was executed -but- the debug did not stop at the breakpoint - like
I didn't have any breakpoints set? PLEASE tell me this is something simple.
:)
Thanks,
Paul
 
Just check you are doing a Debug build and not Release build.

I am working with Visual Studio .Net and XP-Pro. Why / What have I done
that
a breakpoint won't stop in debug? I have used the debug before and all went
well? I have tried starting with Debug (F5) and even tried starting with
StepInto (F11)... The app runs and I see results of code -so- I know the
breakpoint was executed -but- the debug did not stop at the breakpoint -
like
I didn't have any breakpoints set? PLEASE tell me this is something simple.
:)
Thanks,
Paul
 
Hi Paul,

As Shiva said, make sure you are not doing a release build.
Sometimes Visual Studio goes out of sync with the real world, I've had this happen with Web Applications, in which case you need to rebuild the entire solution/project and not just hit F5.
 
I checked and I was doing a Debug... -but- I discovered that somehow ???
Enable ASP Debugging and Enable ASP.NET Debugging had both been set to False.
Thanks for the timely replies - I am new to .Net and I see it takes some
adjusting. :-)
Thanks again.
Paul
 
Back
Top