Cannot retrieve debugging output in Qt Creator

前端 未结 4 1260
执笔经年
执笔经年 2021-02-18 17:49

In Qt Creator on Windows, qDebug() statements don\'t work, and the following message appears in the output window:

Cannot retrieve debugging

相关标签:
4条回答
  • 2021-02-18 18:17

    For me this error message appears when I have more than one instance of my application, not of Qt Creator.

    0 讨论(0)
  • 2021-02-18 18:23

    Or you may be running a version of DebugView from Sysinternals, that causes the same result.

    0 讨论(0)
  • 2021-02-18 18:29

    This problem can show up if more than one instance of Qt Creator is active. To fix the issue, simply close all the other instances of Qt Creator and it should work.

    0 讨论(0)
  • 2021-02-18 18:31

    For me, I solved the problem by simply closing the running application built with the other qt creator. So not necessary to close the other qt creator.

    0 讨论(0)
提交回复
热议问题