delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/11/08:19:10

From: "Michael Schuster" <Schuster AT eev DOT e-technik DOT uni-erlangen DOT de>
Organization: LS f. Elektr. Energieversorgung
To: djgpp AT delorie DOT com
Date: Fri, 11 Oct 1996 13:54:41 MEZ
Subject: how to debug Allegro
Message-Id: <4AFEB5684B@merlin2.e-technik.uni-erlangen.de>

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 -


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