PDA

View Full Version : debugger not working qt creator



sujan.dasmahapatra
5th December 2011, 17: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
:D

Spitfire
6th December 2011, 09: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.

sujan.dasmahapatra
6th December 2011, 10: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.