Mail Archives: djgpp/1998/10/10/13:11:31
Tal Lavi wrote:
>
> It would help to see the values of some variables of mine in the location > of the GPF
I've had pretty good luck with opening a file and doing fprintf to it
with the variables I am interested in. After each write, fflush to make
sure it is written to disk. After the crash, the information is in the
file, although your editor might make some remarks about unterminated
files.
I stress 'luck'. There is no guarantee a file that has not been properly
closed will be of any use. Perhaps a more reliable solution would be to
write the info to the printer or an external dumb terminal.
- Raw text -