From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: debugging Date: 11 Sep 2002 08:12:09 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 25 Message-ID: References: <003b01c258f1$d12c4fe0$5ba951d5 AT delo> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com johny (johny AT ammo DOT sk) wrote: : when I try to debug this... : #include : int main() : { : int a; : a=55; : a++; : return 0; : } : I compile it with -g, but when I try to debug this, : I get an error that breakpoint is invalid or there is now debug : information... Try with some other debug format, like -gstabs+ or -gdwarf. Check out the exact names with "info gcc". Right, MartinS