469,356 Members | 2,203 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

Visual Studio .Net - breakpoint - NOT breaking

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
Nov 22 '05 #1
3 3379
Just check you are doing a Debug build and not Release build.

"PaulThomas" <Pa********@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.com...
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
Nov 22 '05 #2
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.

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 22 '05 #3
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

"Morten Wennevik" wrote:
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.

--
Happy Coding!
Morten Wennevik [C# MVP]

Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by mbjohnson | last post: by
4 posts views Thread by Ken Allen | last post: by
1 post views Thread by Norman Diamond | last post: by
3 posts views Thread by =?Utf-8?B?UGhpbCBKb2huc29u?= | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.