delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/10/13:11:31

Message-ID: <361F94F5.13FFB045@montana.com>
Date: Sat, 10 Oct 1998 11:10:13 -0600
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5b2 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Unpredictable GPF's
References: <ranla DOT 12 DOT 000B02FB AT post DOT tau DOT ac DOT il>
Reply-To: djgpp AT delorie DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019