Unsolved Breakpoint being moved by Qt
-
Here's another strange behavior I'm experiencing using Qt Creator 4.0.3
Based on Qt 5.7.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)I have saved, cleaned, and rebuilt my code many times and the phenomenon continues to occur. I placed a break point at the emit statement on line 180 as shown below.
As soon as I continue executing my code, the breakpoint moves as shown below.
At first I thought it must be that my source is different from the compiled but as I mentioned, I have repeatedly saved, cleaned, and rebuilt my code so it can't be that (can it?)
Anyone else see this behavior?
-
That normally happens when the compiler optimises out the code. if you put something like
qDebug("test");
in the line above and try to break there does it work?