delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/11/28/12:15:43

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <3fc77fc4$0$165$cc7c7865@news.luth.se>
From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: general protection fault
Newsgroups: comp.os.msdos.djgpp
References: <20031128114118 DOT 28353 DOT 00001166 AT mb-m11 DOT aol DOT com>
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha))
Date: 28 Nov 2003 17:03:00 GMT
Lines: 18
NNTP-Posting-Host: speedy.ludd.luth.se
X-Trace: 1070038980 news.luth.se 165 130.240.16.13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sterten <sterten AT aol DOT com> wrote:

: when I get a GPF with my compiled program (which happens quite often) ,
: then the whole screen is written full of GPF- information.

: So everything, which was written before to the screen is overwritten.
: But I need these printouts for debugging.
: I doesn't help, when I redirect the output to a file, since DJGPP
: won't close the file, when the GPF occurs, so the file will be empty.

: what can I do ?

flush() and/or fsync() often.


Right,

						MartinS

- Raw text -


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