Message-ID: <37FC3744.31BF3262@snetch.cpg.com.au> Date: Thu, 07 Oct 1999 16:01:40 +1000 From: Michael Abbott aka frEk <20014670 AT snetch DOT cpg DOT com DOT au> Organization: Student of Computer Power Institute X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: DJGPP Mailing List Subject: Debugger Issues Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Heya Well, firstly, my names Mike (aka frEk) and I'm new to the list, been programming for quite a while, hobby based, yada yada... I'm busy designing an image processor system at the moment under DJGPP / Allegro / DLX and after completely adding the GUI for it, I've just run it to see what's happening... After initialising, it bombs out with a "General Protection Fault". I ran SYMIFY to trace the error and found it was in one of the Allegro functions. Unfortunately this function is called from many different places in my program, so I needed to trace through it to find which function in my program is causing the problem... I ran it under both RHIDE and GDB (they use the same debugging frame, right?) to trace the bug... Both of them run the program beautifully without any hiccoughs... I presume this means that both of them turn of Real-memory protection so that they don't freeze when people try to watch / inspect variables that point to absolutely nothing... Is there any other way of debugging through the program with protection still intact? Are there any other debuggers I could use? I've searched the FAQs, source, etc. and still couldn't find anything there that would help... - frEk