Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QDebug causes crash
Misty River last edited by
I have a function that runs fine without any qDebug, but when I run qDebug the application crash after printing the lines... this is really weird I have never seen that before.. It doesn't crash during the printing but after.. so I'm pretty sur it's not a bad pointer or something like that.. and if I remove the debug lines the function runs just fine... what could cause that?
andreyc last edited by
Did you try to clean all and rebuild your project?
Some piece of code may help to identify a problem.
To add to andreyc, is your application multi threaded ?
What compiler/environment are you using?