[SOLVED]Can't hit breakpoints on code ported to 5.1 android
-
I've been porting over a project from Necessitas to 5.1. I never had breakpoints working with Necessitas.
A newly created android 5.1 project will allow be to set breakpoints in my c++ code. For some reason though, breakpoints get ignored on the ported project. I can see debug output with qDebug no problem.
Looking at the two projects, I haven't see anything that looks like a breakpoint enable value. Anybody know how to turn it on for the other project?
-
The little tab at the bottom left is set to Debug. The effective qmake steps both look the same.
-
Mine looks like this (pathhere to protect the names of the innocent).
qmake /pathhere.pro -r -spec android-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debugSample that works and port that doesn't both look the same.
-
Found the problem.
In the .pro file was:
CONFIG += console
release \Needed to be:
CONFIG += console
debug \Also, after making the change I had to do a rebuild all for it to take effect.