Mail Archives: djgpp/1999/03/11/05:29:08
On Thu, 11 Mar 1999 cyberian_front AT my-dejanews DOT com wrote:
> I'm in a quandry with finding a memory leak in my app. I'm do a lot of
> file access and using arrays to store the pages I read in. With small
> files I have no problem, but with large files I get an invalid pointer
> to an array and ... GPF.
>
> Is there any debug lib/tool that could help in conjunction with DJGPP?
Please download the DJGPP FAQ list (v2/faq211b.zip from the same
place you got DJGPP), and read section 12.2 there. It explains how to
use the information printed when your program crashes to find out the
place of the bug, and how to begin debugging your program using that
information.
In addition, check out the MSS library (v2tk/mss*.zip) which is a
library for debugging memory-allocation problems.
- Raw text -