Mail Archives: djgpp/2000/08/23/00:30:17
I'm trying to use RHIDE to debug some code for DJGPP which looks a bit
like this:
do{
A
if(B){
C
}
D
}while(E)
What should happen is that when B is true, C is evaluated and makes B
false. So each loop A and D are evaluted once and C is evaluated
sometimes. Now the problem is that sometimes when C should be
evaluated, it isn't and this causes the program to go into an infinite
loop.
Using the debugger to watch B, the problem seems to be that B is true
but C isn't being evaluated. So is RHIDE lying? If it's not what could
be the problem, I'm stumped...
- Raw text -