[Qt-interest] NewBie: How to trace Segmentation Fault in Qt?

Chandru... sekarwagmare at gmail.com
Mon Jul 20 07:52:50 CEST 2009


GDB is very flexible to use ... this one itself will help a lot
http://www.cs.cmu.edu/~gilpin/tutorial/

On Mon, Jul 20, 2009 at 11:12 AM, Karol Krizka <kkrizka at gmail.com> wrote:

> On Mon, 2009-07-20 at 10:26 +0500, Usman Ajmal wrote:
> > Hi,
> >
> > I don't have any experience of working with any debugger on Linux and
> > Qt. That's because i am a begineer in these fields.
> >
> > Having said that, i am now facing a Segmentation Fault when i run my
> > Qt application. Please suggest me ways to trace it, and an
> > easy-to-learn to learn tutorial for debugging C++ code on linux while
> > developoing a Qt app.
> >
> What IDE are you using to develop your application?
>
> I would recommend that you try Qt Creator. It has a very nice debugging
> environment that is friendly to new users. Just hit the debug button,
> crash your application and it will show you the line in the code where
> it crashed.
>
> If you are working from command line, you will probably have to use GDB.
> But I don't know about any good tutorials for it.
>
> Cheers,
> Karol Krizka
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090720/49d80d17/attachment.html 


More information about the Qt-interest-old mailing list