View Full Version : debugger not working qt creator

5th December 2011, 18:35
Dear Friends
I am using Qt4.7.4 and Qt creator 2.3.1
When I try to debug my code its starting and the debugger finished. Its not debugging....

Please help me ...Thanks Sujan

6th December 2011, 10:46
Are you debbuging a library or application?
Are you building debug or reelase version?

Try to clear the project, run qmake and build the project. Make sure it's set to 'debug'.
Set a breakpoint somewhere in main() and see if it gets triggered.

btw there was already a thread about that, you should read it.

6th December 2011, 11:55
I am running a simple application. In fact with no application its working..
Too chain
compiler path : C:\Qt\qtcreator-2.3.1\mingw\bin\gcc.exe
debugger : C:\Qt\qtcreator-2.3.1\pythongdb\gdb-i686-pc-mingw32.exe

These come with Qt creator. but its starting and finished. it not stopping at the break point. I have built in debug mode only. Still its not working . Please help me.