www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/23/11:47:58

Xref: news2.mv.net comp.os.msdos.djgpp:6313
From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro and debugging.
Date: Tue, 23 Jul 1996 11:13:29 GMT
Lines: 31
Message-ID: <838120309.10346.0@abwillms.demon.co.uk>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960721084732 DOT 5526A-100000 AT is>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>>    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.

What's the deal with graphical debugging under FSDB? The faq said,
under 'graphics debugging', somethign along the lines of "Of course,
you can just use fsdb". But if I try to step past a switch to graphics
mode, everything goes blank; FSDB is running, coz I can Alt-X out and
type MODE CO80. Have I misread, seen a mistake in the FAQ (it's not
the really new version, I haven't had time to DL it yet), or just not
enabled something???


Thanx,


ABW
--
I have become... Comfortably numb...

Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.hardcafe.co.uk/Alaric/">http://www.hardcafe.co.uk/Alaric/</A>

- Raw text -


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