Qt Creator doesn't stop at breakpoints ?
I haven't problem in coding and compile my programs in QT Creator, but when I try use debugger in my code with breakpoints, Qt Creator doesn't stop at breakpoints.
I already tried a search in internet, but I don't found the solution for my problem.
If someone can help me, I thanks.
Re: Qt Creator doesn't stop at breakpoints ?
Make sure you build your project in debug mode.
Re: Qt Creator doesn't stop at breakpoints ?
Re: Qt Creator doesn't stop at breakpoints ?
Exit QtCreator,
Delete shadow directory,
delete *.pro.user file in your project directory,
Open the project and build it in debug mode.
Set a breakpoint somewhere in the main() to test.
Re: Qt Creator doesn't stop at breakpoints ?
The same is happening, I really don't know what is this, I searched in the internet, but I don't found something about this, I think my installations is correct.
I followed this tutorial:
http://labs.qt.nokia.com/2007/07/11/...ns-in-eclipse/
Thanks a lot
Re: Qt Creator doesn't stop at breakpoints ?
Looks like he is using eclipse and not QtCreator so we need someone with working knowledge of eclipse...
Re: Qt Creator doesn't stop at breakpoints ?
Are you using Eclipse?
Then the title and what you say is at least very misleading if not wrong...
Re: Qt Creator doesn't stop at breakpoints ?
No, I just use QT Creator, I have never used Eclipse for QT.
This just happened in QT Creator.
Sorry, I don't have explained correctly, in the true I used just this site :
http://qt.nokia.com/downloads
I tried use Eclipse but :
Which platforms are supported?
The plugin runs on Windows and Linux x86. Debugging does not work on Windows x64, because GDB crashes, there. OSX will be supported in a later release.
Re: Qt Creator doesn't stop at breakpoints ?
So why you followed Eclipse tutorial? Odd.
Anyway, what system are you using?
MacOS X as it's stated in your details?
Re: Qt Creator doesn't stop at breakpoints ?
I tried use Eclipse but :
Which platforms are supported?
The plugin runs on Windows and Linux x86. Debugging does not work on Windows x64, because GDB crashes, there.
Then I used just QT Creator.
I followed this site until this part, then I found :
http://qt.nokia.com/downloads
1 Attachment(s)
Re: Qt Creator doesn't stop at breakpoints ?
Here the image :
Attachment 7038
Re: Qt Creator doesn't stop at breakpoints ?
So, are you making a debug build? Are you running it from inside of Qt Creator using the Debug menu? Can't tell anything from your screenshot.
Re: Qt Creator doesn't stop at breakpoints ?
Create new, empty, console app project, save it on main mac partition (not the second drive you're using now - just to be sure), set breakpoint in main, build and debug.
Check application output/compile output for any issues - ie missing gdb.
1 Attachment(s)
Re: Qt Creator doesn't stop at breakpoints ?
Quote:
Originally Posted by
Spitfire
Create new, empty, console app project, save it on main mac partition (not the second drive you're using now - just to be sure), set breakpoint in main, build and debug.
Check application output/compile output for any issues - ie missing gdb.
Thanks for all
Your idea worked, I create a Empty project and all worked perfectly
I thought this problem was occurring in every projects, but wasn't
Thanks a lot :D
Attachment 7039
Re: Qt Creator doesn't stop at breakpoints ?
Re: Qt Creator doesn't stop at breakpoints ?
thanks a lot it helped me
Re: Qt Creator doesn't stop at breakpoints ?
I have this problem an nothing this solve. Someone could helpme? My project is a debug project but the gdb dont stop in any breakpoints.
Re: Qt Creator doesn't stop at breakpoints ?
You could at least say what you've tried, what's your OS and so on.
It's still quite difficult to read minds...
Re: Qt Creator doesn't stop at breakpoints ?
ops, im sorry...
My problem happens in win 7 64. I put a breakpoint in a line, but gdb dont stop in it. The program runs and ends normally without debugging. My project is configured to debug and all path is correct.
Here is the output of debug log comand:
1show version
2-list-features
3set breakpoint pending on
4set print elements 10000
5set overload-resolution off
6handle SIGSEGV nopass stop print
7set unwindonsignal on
8pwd
9set width 0
10set height 0
11set auto-solib-add on
12-interpreter-exec console "maintenance set internal-warning quit no"
13-interpreter-exec console "maintenance set internal-error quit no"
14-interpreter-exec console "disassemble 0 0"
15-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/bridge.py')"
16-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/dumper.py')"
17-interpreter-exec console "python execfile('C:/QtSDK/QtCreator/share/qtcreator/dumper/qttypes.py')"
18-interpreter-exec console "bbsetup"
19attach 3588
20set substitute-path C:/iwmake/build_mingw_opensource C:/QtSDK/Desktop/Qt/4.7.4/mingw
21set substitute-path C:/ndk_buildrepos/qt-desktop/src C:/QtSDK/Desktop/Qt/4.7.4/mingw
22set substitute-path C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt C:/QtSDK/Desktop/Qt/4.7.4/mingw
23-break-insert -f "\"main.cpp\":16"
24info line *0x401432
25maint print msymbols C:/Users/TERMIN~1/AppData/Local/Temp/gdb_ns_.xu5116
26-exec-continue
Re: Qt Creator doesn't stop at breakpoints ?
I have the same problem although it's probably because my Qt creator is set up to build with msvc tools, but tries to use gdb.