Re: [Dev-C++] Segmentation Fault - Debugging
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2007-07-21 18:12:24
|
I never use the built-in debugger support in Dev-C++, but if you can get the application to fail in the debugger - or by running directly from gdb om command line, the back trace command (bt in command line version) will dump the call sequence where the application died. /pwm On Sat, 21 Jul 2007, Jamiil Abduqadir wrote: > Well, I would like to give you more information, but my problem is that I > don't know how to utilize Dev-Cpp's debugger to locate the problem. If you > know a trick to catch the problemed code, please let me know. > > Thanks in advance. > ----- Original Message ----- > From: "Adam Jones" <aj...@i-...> > To: "'Jamiil Abduqadir'" <jal...@gm...>; "'Dev Cpp MailingLinst'" > <dev...@li...> > Sent: Saturday, July 21, 2007 5:47 AM > Subject: RE: [Dev-C++] Segmentation Fault - Debugging > > > You Wrote: > > I have a segmentation fault in my program > > This usually indicates a pointer allocation problem. Check your pointers in > your program. Make sure they are allocated and initialized correctly before > using them. Without out knowing more about the code or what you are doing, > this is the only advice I can give at this point. > > -Adam Jones > > > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Jamiil > Abduqadir > Sent: Saturday, July 21, 2007 10:37 AM > To: Dev Cpp MailingLinst > Subject: [Dev-C++] Segmentation Fault - Debugging > > Hello. > I have a segmentation fault in my program, I know that I could trace, or > back trace in this case, to find where the the segmentation fault occures. > What I don't know, though, how to do it. > Can someone please point me out where I can get this information, or tell > how to do it under Dev-Cpp? > > Thanks everyone. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |