Ignored QDebug instructions

  • My program crashes at some point due to unknown reasons. Attempting to find and solve the bug, I placed a couple of qDebugs on the way to see the status. However, some of them are simply ignored. I know the program is running those instructions, they are just not displayed.

    QString a="abcd";
    qDebug()<< a;

    output: done
    Does anyone know why this is happening?

  • @Paul-Orasan
    This looks to me like a symptom of a blown stack.
    Somewhere in your code, and not necessarily in the function that fails,
    you are probably overwriting a local buffer.

Log in to reply