Re: [Dev-C++] Segmentation Fault - Debugging
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jamiil A. <jal...@gm...> - 2007-07-21 18:06:02
|
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. |