Mail Archives: djgpp/1999/03/31/02:43:26
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 -