Visual Studio .Net - breakpoint - NOT breaking

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
 
S

Shiva

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
 
M

Morten Wennevik

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top