preston
preston

Reputation: 4337

Qt debugging crashes/quits python and end up not debugging properly (e.g. not stopping at breakpoints)

I'm exploring the Qt framework and I'm learning about debugging a Qt application. I've set a breakpoint on a line in the source code and click the "Start Debugging" icon/button. The console prints "Debugging starts"...and then a Dialog Box appears stating: "Python quit unexpectedly while using _lldb.so plug-in".

Then the whole program just runs without stopping at the breakpoint I've set. How do I fix this problem with Qt?

Thank you...

I'm using a MacBookPro running on OS X Yosemite.

I'm using: Qt Creator 3.3.0 (opensource) Based on Qt 5.4.0 (Clang 6.0 (Apple), 64 bit)

Built on Dec 8 2014 at 15:34:58

From revision d36c4d87db

Copyright 2008-2014 Digia Plc. All rights reserved.

How do I fix this?

Thank you

Upvotes: 1

Views: 662

Answers (2)

cert
cert

Reputation: 1

This is probably https://bugreports.qt.io/browse/QTCREATORBUG-13803 which is fixed in the meantime.

Upvotes: 0

burningfuses
burningfuses

Reputation: 1849

The shared library (.so) provided with the QT download unfortunately incompatible between Mavericks and Yosemite. To fix this you need to compile Qt by yourself. Just follow these steps (you might have to adapt a little bit depending on your original Qt install):

git clone https://gitorious.org/qt-creator/qt-creator.git 
cd qt-creator
export PATH=${PATH}:/Users/${user}/Qt/5.4/clang_64/bin/
qmake
make
cd bin/Qt\ Creator.app/Contents/MacOS
./Qt\ Creator

Hope it works for you.

Upvotes: 1

Related Questions