Mail Archives: djgpp/1998/10/13/11:38:51
On Sat, 10 Oct 1998, Tal Lavi wrote:
> In some points, which seems to be random, I am getting a GPF out of nowhere!
> I have no clue on what is happening or how can I solve it.
Try reading section 12.2 of the DJGPP FAQ list, it explains how to
approach such problems.
> It would help to see the values of some variables of mine in the location of
> the GPF(I know the location, it's allways the same line, a while statement,
> it's just different situations).
That's easy: just run your program under a debugger. When the GPF
strikes, the debugger will kick in and you can examine the variables
as you see fit.
Of course, there's a possibility the bug won't happen under a
debugger, in which case it's probably some uninitialized memory that
gives you this trouble.
- Raw text -