[Interest] breakpoints not resolving (again) (mac)

Tony Rietwyk tony at rightsoft.com.au
Mon Jul 27 08:26:13 CEST 2020


Hi dave,

You haven't said what IDE you are seeing these errors in?  If Qt 
Creator, maybe this link can help:

https://doc-snapshots.qt.io/qtcreator-4.0/creator-debugger-engines.html

The document suggests that Python is required now for LLDB and GDB.  
Maybe you have an old version of Python installed that is confusing the 
run-time.

Regards, Tony


On 27/07/2020 10:35 am, David M. Cotter wrote:
> i note this is also in the debugger log on startup, don't know if it 
> is related:
>
> dNOTE: INFERIOR RUN OK - REPEATED.
> eERROR: Lldb stderr: warning: 'QtCore' contains a debug script. To run 
> this script in this debug session:
> e command script import 
> "/Users/davec/Developer/Qt/5.15.0/clang_64/lib/QtCore.framework.dSYM/Contents/Resources/DWARF/../Python/QtCore.py"
> eTo run all discovered debug scripts in this session:
> e settings set target.load-script-from-symbol-file true
>
>
>
>> On Jul 26, 2020, at 5:27 PM, David M. Cotter <dave at kjams.com 
>> <mailto:dave at kjams.com>> wrote:
>>
>> they always have a little hourglass in them (ie: pending)
>>
>> i've tried all the usual suspects:
>>
>>   * clean and rebuild project
>>   * update Qt to latest
>>   * try shadow vs. not shadow build
>>   * ensure .dSYM file is next to actual .app package
>>   * ensure i build "debug" version (with "-g" option)
>>   * ensure i'm RUNNING the debug version
>>
>>
>> when i go to insert a breakpoint the debugger log window says this:
>>
>> *>TAKING OWNERSHIP OF BREAKPOINT 23*
>> *>63insertBreakpoint({"address":0,"command":"","condition":"","enabled":1,"expression":"","file":"/Users/davec/Developer/Qt/Examples/Qt-5.15.0/multimediawidgets/videographicsitem/main.cpp","function":"","id":"","ignorecount":0,"line":62,"modelid":23,"oneshot":0,"token":63,"type":1})*
>> *>(lldb) script 
>> theDumper.insertBreakpoint({"address":0,"command":"","condition":"","enabled":1,"expression":"","file":"/Users/davec/Developer/Qt/Examples/Qt-5.15.0/multimediawidgets/videographicsitem/main.cpp","function":"","id":"","ignorecount":0,"line":62,"modelid":23,"oneshot":0,"token":63,"type":1})*
>> *>@*
>> *>result={token="63",lldbid="5",valid="1",hitcount="0",threadid="0",oneshot="0",condition="",enabled="1",valid="1",ignorecount="0",locations=[]}@*
>> *>63^*
>> *>NO LOCATIONS (YET) FOR BP Type: 0 [enabled] [pending] Hit: 0 times *
>>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200727/23cd396d/attachment.html>


More information about the Interest mailing list