简体   繁体   中英

QT Creator - breakpoint not persistent for every build

I'm trying to use QT Creator for an open-source project I downloaded from github. After some fuddling around I managed to get the project to compile in QT Creator and run in debug mode. However, I have an issue : strangely the breakpoints that I set are only available for that instance for the debug run for QT Creator. When I stop the debugging, and relaunch the debugging, the previously stated breakpoints are still there, but they are no longer valid. (meaning Qt Creator skips over them). I've verified that new breakpoints are still valid - it's the old ones that become invalid even though they are still listed.

I did not even update any code, just added breakpoints, hit debug and the old breakpoints became invalid even though they are still showing.

QT屏幕

No sacarsm intended, but is this a "feature"? If so, how do I turn it off? If not a feature, what can I try?

It's very painful to re-add breakpoints every time I run a debug.

Using Mac OSX 10.9 here, Qt 5.2, with Qt Creator 3.0 for Mac.

Thanks.

EDIT : Some more info. I realised that whenever the breakpoint works, it has a tiny hour glass next to it, like in the picture. What does the hour glass mean? It could just be something dumb that I'm not doing.... 在此处输入图片说明

in the end I filed a bug with Qt Creator. For those interested pls check here. https://bugreports.qt-project.org/browse/QTCREATORBUG-11184

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM