Re: Segmentation fault in RS_EntityContainer::optimizeContours()
Posted by
Rallaz on
Apr 23, 2012; 4:08pm
URL: https://forum.librecad.org/Segmentation-fault-in-RS-EntityContainer-optimizeContours-tp5651061p5659783.html
dxli wrote
make sure I add CXXFLAGS="-g" and not stripe the binary after compiling. I
run gdb manually to debug after that.
CONFIG += debug
simply add -g -O0 -Wall
and CONFIG += release -O2
I may have to learn how to debug in qtcreator. I use qtcreator only as an
editor (class viewer) with fakevim mode.
Dongxu
see the screenshot attached by Ries:
the first green arrow are run, the second (with a "bug") are debug and
the hammer are build.
Set config in debug for a "normal debug", in release are assembler debug :-D
Check menu "tools->git" for git integration options.
Rallaz