vc7 debug jump wrong line

V

Vi

Hi,

I have a very weird problem. Have anyone encounter this and how do you
solve it?

For example, I have 20 line of code (example only, no real sense)

0
1 for(int i=0;i<NoOfMatches;i++) {
2
3
4 if(theList.GetNo(i)== (unsigned long) -1) break;
5
6
7 printf("%s\t%f\n",RamDB.GotoEntry(theList.GetNo(i))->
8 GetFilename(),
9 theList.GetDistanceValue(i));
10
11
12
13
14
15 //nothing here
16
17
18
19
20

Line 0,2,3,5,6,10 is empty, other with command.

Now, when I debug this with breakpoint sets at line 1, it might go in
this fashion, line 2,4,5,7,8,10,13,15,18,19,20 etc. in fact, randomly.

Do anyone know what is happening?

Thanks a lot.

Vi
 
U

Unforgiven

Vi said:
Now, when I debug this with breakpoint sets at line 1, it might go in
this fashion, line 2,4,5,7,8,10,13,15,18,19,20 etc. in fact, randomly.

Do anyone know what is happening?

This is off topic here. You may want to ask again at
microsoft.public.vsnet.general, or at microsoft.public.dotnet.language.vc or
similar. You might also want to try to word your question differently there
because I did not really understand what you meant.
 
R

Ron Natalie

Vi said:
Hi,

I have a very weird problem. Have anyone encounter this and how do you
solve it?
There is a newsgroup microsoft.public.vc.debugger that will get you the
answer to this question better than asking it here.
 
V

Vi

This is off topic here. You may want to ask again at
microsoft.public.vsnet.general, or at
microsoft.public.dotnet.language.vc or similar. You might also want to
try to word your question differently there because I did not really
understand what you meant.

Thanks for informing me about it. I will post it at your suggested
newsgroup and rephrase it. Just starting to learn to use newsgroup...

Vi
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top