Login  Register

Re: Segmentation fault in RS_EntityContainer::optimizeContours()

Posted by dxli on Apr 23, 2012; 3:23pm
URL: https://forum.librecad.org/Segmentation-fault-in-RS-EntityContainer-optimizeContours-tp5651061p5659665.html

Hi,

I mostly use my own building scripts in archlinux:

make sure I add CXXFLAGS="-g" and not stripe the binary after compiling. I run gdb manually to debug after that.

I may have to learn how to debug in qtcreator. I use qtcreator only as an editor (class viewer) with fakevim mode.

Dongxu

On Mon, Apr 23, 2012 at 11:07 AM, Rallaz [via LibreCAD] <[hidden email]> wrote:
Eric,
I agree with Ries but, if you want to use konsole (1)
the change are:
CONFIG += debug

highly recommended:

http://qt-project.org/doc/qt-4.8/qmake-project-files.html
http://qt-project.org/doc/qt-4.8/qmake-running.html

Qtcreator are very powerful:
debbuger, variable inspector, valgrind, Qt help, class viewer and more...

(1) I like KDE ;-)


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Segmentation-fault-in-RS-EntityContainer-optimizeContours-tp5651061p5659632.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML



--
Dongxu Li, Ph.D.
www.librecad.org