473,395 Members | 1,823 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,395 software developers and data experts.

weird break point

Hi!
I have really weird break point. Look at my screen shoot
http://www.mapsea.com/vs.jpg

First break is normal and can stop when program run to that position.
Second break show with a question symbol inside. move the mouse cursor
over it. It say the break won't be hit for no runnable code associated
with it. But I can stop at the first position and get to the second
one by trace step by step. In fact, the lines below that has the same
bad behaviour, the lines above it act as normal break.

I really don't know what's wrong. Is it a bug of Visual Studio or a my
own fault? It happens in several files in my workspace. I can't bear
it any longer. I have rebuild the project several times, but with same
result. Anyone know the solution to get rid of it?

Thanks!!
Nov 15 '05 #1
2 1387
I had this happen last week as well. I was dealing with thread code then and
the thread stack wasn't loaded yet. I've seen it happen when code is
unreacheable as well. This doesn't seem to apply to your case.

I'd suggest you repost this to the MS debugger newsgroup where you can get
some specific help on it. MS debugger gurus actively monitor this group.

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"Fu Chen" <no*****@yahoo.com.cn> wrote in message
news:46**************************@posting.google.c om...
Hi!
I have really weird break point. Look at my screen shoot
http://www.mapsea.com/vs.jpg

First break is normal and can stop when program run to that position.
Second break show with a question symbol inside. move the mouse cursor
over it. It say the break won't be hit for no runnable code associated
with it. But I can stop at the first position and get to the second
one by trace step by step. In fact, the lines below that has the same
bad behaviour, the lines above it act as normal break.

I really don't know what's wrong. Is it a bug of Visual Studio or a my
own fault? It happens in several files in my workspace. I can't bear
it any longer. I have rebuild the project several times, but with same
result. Anyone know the solution to get rid of it?

Thanks!!

Nov 15 '05 #2
Try turning of incremental compile and then rebuild everything.

Also make sure you have the latest service packs installed.

Both are known to cause debugger stepping problems and possibly could affect
breakpoints.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
"Fu Chen" <no*****@yahoo.com.cn> wrote in message
news:46**************************@posting.google.c om...
Hi!
I have really weird break point. Look at my screen shoot
http://www.mapsea.com/vs.jpg

First break is normal and can stop when program run to that position.
Second break show with a question symbol inside. move the mouse cursor
over it. It say the break won't be hit for no runnable code associated
with it. But I can stop at the first position and get to the second
one by trace step by step. In fact, the lines below that has the same
bad behaviour, the lines above it act as normal break.

I really don't know what's wrong. Is it a bug of Visual Studio or a my
own fault? It happens in several files in my workspace. I can't bear
it any longer. I have rebuild the project several times, but with same
result. Anyone know the solution to get rid of it?

Thanks!!

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: alice | last post by:
Hi, When I compiles the following program with g++, it gives the following output: # g++ -o list list.C list.C: In function `int main()': list.C:116: jump to case label list.C:110: crosses...
3
by: Val | last post by:
In vc7 (studio 2002), when I try to debug the first "if" statement, the IDE jumps to the next valid line and evaluates it even if the if-statement is false. What is going on? if(...
1
by: Armond VanHeusen | last post by:
I have an application with a bunch of DLLs that are loaded in as plugins. In one of these I am trying to get XMLSerialization to work but with little success. I then tried some very simple code...
5
by: Frederick Dean | last post by:
Hi,guys! I'm reading Stephen Dewhurst's book "C++ Gotchas"£¬in gothca #7, I meet a weird case: bool Postorder::next() { switch (pc) case START: while (true) if (!child()) { pc = LEAF; return...
8
by: Blah | last post by:
Hi, this is a small program to print out three lists of values. One is a simple increment count the others are values from two equations. I've run this without problems before but when I've put in...
8
by: Su Y | last post by:
hi all, I can't understand how this code work, its behavior is really weird for me... I want find the first number in extend which is larger than num, so I wrote: def find(num): count=0 for...
3
by: =?Utf-8?B?dmluY2VudHc1Ng==?= | last post by:
I have an ASP.NET 2.0 application. It is pretty basic. What it does is shows a gridview of data from a stored procedure. The user can also select a date filter. The problem is that sometimes an...
3
by: Dameon99 | last post by:
Hi.. Im experiencing a weird error I dont know how to fix. I have a scanner object and whenever I use nextInt, anything above 3 causes the program to crash saying and links me to this line of the...
2
by: TamaThps | last post by:
Hi, I'm using visual studio 2008 and normally when I get an error it shows what line it is on and which file etc. The error I'm getting I don't know how to solve or even what the problem is. This...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.