Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 4.5.0-beta1
-
None
-
Debian 9.5 Cinnamon x32 i386
Qt 5.9.2 built from Git
Qt Creator 4.5.0-beta1 (4.4.82) built from Git
Description
When using breakpoints with a condition, expressions evaluating the equality of QString values seem to evaluate to true regardless of the actual value, resulting in the debugger breaking every time.
This can be reliably reproduced on my setup using:
QChar c = 'a'; QString test; for(; c <= 'z'; ++c) { test = QString(c); qDebug() << test; /*--Breakpoint here--*/ }
with the following breakpoint condition:
test == "d"
In theory, the debugger should only break once, in the fourth loop iteration, however in reality it seems to break on every iteration.