[Qt-creator] Unable to debug application on-device using Qt-Creator and MADDE (TP2)

Rudenko Eugene erule.biz at gmail.com
Wed May 12 12:28:32 CEST 2010


Hello Andre.
yes, you wright, there are no "-g" flag, but  AFAIK, if you add CONFIG+=debug option to qmake, it included  "-g" flag.

Here is my default qmake options for Debug config.
"qmake /Users/rule/development/MAEMO/maemo_test2/maemo_test2.pro -r -spec linux-g++-gles2 CONFIG+=debug"

Although  I can add "QMAKE_CXX_DEBUG += -g" I believe that it should be made by qmake.
Maybe something wrong with qmake.conf in MADDE ?





> On Wednesday 12 May 2010 11:30:36 ext Rudenko Eugene wrote:
>> Hello, I'm trying to debug on device.
>> I configured all and application compiled and run on device well, but it not stopped on any breakpoints.
>> Qt-creator - 1.3.82 From revision 017ea83680
>> MADDE  - TP2 0.6.14
>> 
>> I attached debugger output.
> 
> [Full output usually helps best]
> 
>> I found a couple of strange messages in it:
>> 
>> =====================================
>> dATTEMPT BREAKPOINT SYNC
>> <257-break-insert "\"mainwindow.cpp\":33"
>> <258-break-insert "\"main.cpp\":7"
>>> &"No source file named mainwindow.cpp.\n"
> 
> This looks like you are trying to debug a binary that was not compiled
> with -g.
> 
> Please check the "Compile Output" pane and verify it mentions -g on
> the g++ command lines.
> 
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100512/62461759/attachment.html 


More information about the Qt-creator-old mailing list