How can I see qDebug messages while debugging in QtCreator

Viewed 45879

I'm making the transition from Eclipse CDT (with Qt integration plugin) to QtCreator 2.0 but there is still one thing that bother me with QtCreator :

When I debug in QtCreator, I don't see my qDebug messages inside the Application output tab until I stop the application I'm debugging... Then they are all displayed at once which is not very useful.

With Eclipse, I don't have this problem : the qDebug messages are displayed correctly when encountered while stepping through the source code.

I'm using both Eclipse CDT and Qt Creator under Windows. I didn't try under Linux (which is not an option right now).

8 Answers

If Anyone is still looking for an answer, this is what I did:

In Debug tab go to build under build select debug not release or profile

While running your application click the Application Output tab Then you will see all your debugs message if you used a "qDebug()" macro.

Related