delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/21/01:59:20

Date: Sun, 21 Jul 1996 08:50:43 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Raja Vallee-Rai <kor AT cs DOT mcgill DOT ca>
Cc: djgpp AT delorie DOT com
Subject: Re: Allegro and debugging.
In-Reply-To: <31EE84B0.15074AFC@cs.mcgill.ca>
Message-Id: <Pine.SUN.3.91.960721084732.5526A-100000@is>
Mime-Version: 1.0

On Thu, 18 Jul 1996, Raja Vallee-Rai wrote:

>    I just tried using gdb to debug a game of mine which I've
> recently ported to DJGPP + Allegro.  Now, I'm using 
> Allegro's keyboard handler, and it seems that the debugger
> gobbles up all the keystrokes, thus they never get to 
> the handler. 
> 
> Is there any way around this?  Anybody have any suggestions?

Suggestion: read the FAQ.  It explains in section 12.9 that you cannot 
debug a program that hooks the keyboard interrupt.  This is a basic 
limitation of the current debug support under DJGPP.

The latest version of the DJGPP FAQ list is available as v2/faq201b.zip 
from the same place you get DJGPP.

- Raw text -


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