Did you check the value during runtime? Maybe there it is true and not false? Maybe you have some uninitialised variable somewhere which causes a random value during runtime and is zeroed while under debugger?
Did you check the value during runtime? Maybe there it is true and not false? Maybe you have some uninitialised variable somewhere which causes a random value during runtime and is zeroed while under debugger?
heh, I hate when physics is broken.![]()
maybe the executable code is out of sync? do a full clean rebuild? maybe the wrong dll/debug symbols is being loaded?
maybe there's a background thread running? but that would take some really weird timing.
can you look at the assembly code that is being run? maybe that might give a hint.
Software Engineer
Thanks for replying,
I have put a qDebug() statement in the method, but that doesn't show up in the output also.
It seems as my code is getting randomly executed. I will check for the variables to see if they are all initialized. About the assemblycode: How does one look at the assemblycode?
Rgx
Is the application compiled in debug mode?Originally Posted by regix
No, in Release mode with Enable warnings,
should I compile it in Debug mode?
Bookmarks