www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/31/02:43:26

Date: Wed, 31 Mar 1999 09:41:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Andrew Davidson <andrew AT lemure DOT freeserve DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: FSDB and keyboard input with allegro
In-Reply-To: <7drqkj$ick$1@news7.svr.pol.co.uk>
Message-ID: <Pine.SUN.3.91.990331094059.16213K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 31 Mar 1999, Andrew Davidson wrote:

> I'm trying to run a program written using allegro to handle keyboard input.
> It's very very buggy and I'd desperately like to have a look at what's going
> on using FSDB but for some reason I can't seem to use the keyboard when the
> program is running under FSDB.

This is a known problem with no good solution at the moment: you
cannot debug programs which hook the keyboard interrupt.  See section
12.10 for the list of gotchas, including this one.

The next release of DJGPP should have some of these problems solved,
including the keyboard interrupt ones.  But for the moment, you will
need to find other solutions, like printf debugging, log files etc.

> It also fails to debug properly as it seems
> to freeze whenever it hits a break point.

Is that a graphics program?  If so, it probably doesn't freeze, it
just doesn't display the debugger screen, because you need to be in
text mode to see it.

> While I'm at it, where can I get a version of FSDB that supports a few more
> graphics modes? The zip file listed in the djgpp faq doesn't seem to exist
> any more.

Try RHIDE or RHGDB, I think they support graphics programs better.

- Raw text -


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