Mail Archives: djgpp/1996/10/11/08:19:10
How do I debug my program with allegro grahics?
My problem:
I have programmed some mathematical functions with DJGPP (GNU C++),
the used editor was rhide. The calculations and the output to files
are under default conditions (DOS). After then a graphical output is
carried out on the screen, based on allegro. When I start the debugger
gdb with "gdb program_name" and "running", it works well, the
calculation and the writing to files. But after switching to the
graphic-mode (autodetect, 800 x 600 Pixels) the screen shows the
graphical surface, but the program stops, nothing is working anymore.
So I have to quit the program with 'ctrl+alt+del'. I have no ideas,
what happened. Who can give me an answer? Which debugger can I use for
debugging allegro programs or working in one-step-mode? And how do I
have to apply them? Where can I find some manuals or documentations of the debuggers or
generally of debugging C++-code?
Norbert
**********************************************
Michael Schuster
E-mail: Schuster AT eev DOT e-technik DOT uni-erlangen DOT de
Universitaet Erlangen/Nuernberg
Lehrstuhl fuer Elektrische Energieversorgung
Cauerstrasse 4
91058 Erlangen
http://www.eev.e-technik.uni-erlangen.de/
**********************************************
- Raw text -