473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 3526
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: PaulThomas | last post by:
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...
2
by: mbjohnson | last post by:
I have an asp.net application written in C# and am having trouble with the debugger hitting the breakpoints. When I set the breakpoint, I get "?" tooltip and it says that the breakpoint will not...
4
by: Andy | last post by:
In visual studio, I have an asp.net project. When I debug, I have to manually attach to aspnet_wp.exe. My project used to automatically attach to this process. How do I get it to automatically...
4
by: Ken Allen | last post by:
I have been using Visual Studio 2005 for some time now, and generally it works fine. Recently I have been adding some threading logic to one of my applications to permit the user interface to be...
1
by: Philip Leduc | last post by:
Hi there, I am a MS Access VBA programmer trying to get my feet wet using VB.net / SQL server. I have SLQ 2000/visual studio 2003 loaded and did get a SQL2005/visual studio 2005 software...
6
by: Bob | last post by:
Hi, I have a fairly large but not massive project. Visual Studio 2005 is starting to act very strange when I debug the project. For instance, if i set a break point, I often can't expand an...
5
by: Max2006 | last post by:
Hi, I am using Visual C# 2005 and I like to setup breakpoint that pause execution upon a class variable change. Is that possible?
1
by: Norman Diamond | last post by:
One Visual Studio 2005 solution contains a C# project and C++ ATL DLL project. The DLL compiles fine, gets registered automatically, gets referenced correctly when the C# program compiles, and...
3
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, This is an issue that happens to me and everybody else I know and I've never found a way around it. In Visual Studio (currently using 2003 but the same has happened for me in 2005 and...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.