PDA

View Full Version : Qt Creator Cannot retrieve debugging output!



been_1990
31st December 2010, 16:15
For some reason QT Creator is not showing the debugging output. What's wrong?
I just get this error:"Cannot retrieve debugging output!".

squidge
31st December 2010, 18:12
Check the date on the executable - is it recent? If not, then the linker can not write to the output file as the executable is already in use (probably already running in the background - use a task manager to find out)

been_1990
1st January 2011, 21:40
That's not the case, if it was that the error would be: "Application exited with -1 signal" or something of the sort.
Debugging now is only possible trough debug mode.

tbscope
1st January 2011, 22:53
It seems that this is an error specific for Windows.

You get the error in the case of:
- a buffer ready event could not be created or does already exist
- a data ready event could not be created or does already exist
- a shared file for the debugger could not be created or does already exist (this is a system paging file according to MSDN)
- a shared memory could not be created

These things are all needed to read the debugger output

Possible cause:
- you have Qt Creater running twice on your system?
- some debugging process in the background from a previous session is still running?

been_1990
2nd January 2011, 00:48
Possible cause:
- you have Qt Creater running twice on your system?
- some debugging process in the background from a previous session is still running?

None of the above, this happens every single time I use Qt Creator.
Is there any useful log I should post here that would help?

tbscope
2nd January 2011, 09:12
I think you should ask the Qt Creator developers.
There are a few on the Qt mailinglists and in the Qt Creator IRC channel (freenode)

The above is from reading the Qt Creator source related to the error message.
What it effectively means is, at least for me, beyond my knowledge. In that code I don't see any log writing.

yogitiw
7th February 2011, 14:03
Where can i get the debugging setup (complete steps) for Qt creator..i m using mingw for compilation ..some stpes are missing in set up the debugger

jjlimax
13th July 2011, 18:41
Add to your .pro file to variable QT "debug".
For example QT += gui debug.

zzzzzhou
6th June 2012, 09:29
I met such problem before, with QtCreator for Windows. It would happen if the *.pro file is in UNIX format. Change it to DOS format and the problem disappears.

karuna
28th February 2013, 12:53
hai guy

I am working Qt with opencv using mingw, and i run my application
I am too getting the same issue
if u found error plz reply me how to rectify it

Starting C:\Qt\Qt5.0.1\Tools\QtCreator\bin\ConsoleApp-build-Desktop_Qt_5_0_1_MinGW_32bit-Release\release\ConsoleApp.exe...
Cannot retrieve debugging output.
C:\Qt\Qt5.0.1\Tools\QtCreator\bin\ConsoleApp-build-Desktop_Qt_5_0_1_MinGW_32bit-Release\release\ConsoleApp.exe exited with code 0

Thanking you
karuna

alizadeh91
3rd March 2013, 15:49
I had this error and found that when two qtcreator are opened, the second will give this error!!! I didn't find out why!

salcin
9th November 2013, 22:03
I have the same problem. Using QtCreator 2.8.1 and Qt 5.1.1 and qDebug() have never worked when i run the my application. If I run my application using the debugger I can see the application's output from qDebug().

Does anyone know how to fix this?