QtCreator skips breakpoints
I'm using Ubuntu 10.4 LTS with an updated Qt SDK. Build-essentials is the compiler suite.
QtCreator's debugging worked fine on Win7, now it doesn't seem to work at all, the breakpoints are skipped altogether.
I don't seem to get any particular error though.
Re: QtCreator skips breakpoints
Are you building your code in debug mode?
Re: QtCreator skips breakpoints
Yes, I tryed both clicking the big Start Debugging button and the little one in the Debug section, neither works.
I checked on WinXP 32bits SP3, the old QtCreator 2.2.1 works. Maybe it's a problem with the latest version.
EDIT: gdb seems to work fine with NetBeans on the Ubuntu pc
Re: QtCreator skips breakpoints
I don't mean the debug mode of creator but rather that your application needs to be built in debug mode.
Re: QtCreator skips breakpoints
I'm kinda new to debuggers. What do you mean by "build in debug mode"?
Can't I simply push a button, like I do to build it normally?
Re: QtCreator skips breakpoints
http://social.msdn.microsoft.com/For...7-8dfec18ff2e5
If you use Qt Creator, you need to switch build configuration from release to debug. It's in the left pane about 2/3 way from the top.
Re: QtCreator skips breakpoints
Thank you, it works now. If you happen to have a quick guide to debugging I'll be happy to have a look.
BTW I have character encoding broblems between the different platforms, how can I set QtCreator to save everything in UTF-8?
EDIT: solved, for default is Tools/Options/Text Editor/Behaviour/Default Encoding
for single files it's Place cursor inside open file -> Edit/Select Encoding
IMHO the default encoding should be UTF-8.
Added after 1 4 minutes:
Damn, I just updated my windows version and now I have new problems!
I'm creating a Qt Shell Application, but after the update, no shell shows up anymore!
MinGW got updated in the process, but it seems I'm still using Qt 4.7.3.
EDIT: solved, Projects/Run Settings/Run in terminal