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