Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Mac QtCreator: Debugger Helper not working

Mac QtCreator: Debugger Helper not working

Scheduled Pinned Locked Moved Qt Creator and other tools
20 Posts 6 Posters 9.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    babazaroni
    wrote on last edited by
    #1

    Hello,

    I can't seem to get debugger helper working, since I can't easily see the value of QStrings. I see libDebuggingHelper.1.0.0.dylib in the plugin directory of the app bundle. Use Debugging Helper is checked in Preferences/Debugger/Debugging Helper, but still can't see the string in QString.

    Anything else to check?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stuartx
      wrote on last edited by
      #2

      I used qDebug to look into the string in QString:

      QString s = "abcd";
      qDebug("%s", qPrintable(s));

      Hope this helps.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        stuartx, your way is to print value in console (btw qDebug() << s; is a bit smaller and more flexible way). OP asks about Debugging helper in Qt Creator.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          babazaroni
          wrote on last edited by
          #4

          I've tried both a compiled version of Qt Creator, and a binary that came with the SDK. Still can't see debugger helper working. Shouldn't this work out of the box?

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Duck
            wrote on last edited by
            #5

            Can you attach the debugger log (right pane of Windows->View->Debugger)?

            1 Reply Last reply
            0
            • B Offline
              B Offline
              babazaroni
              wrote on last edited by
              #6

              Hum, couldn't figure out how to attach a pic to a post, so here's a link:

              "Debugger View":http://www.supertopo.com/photos/8/61/207651_27333_L.jpg

              I've just sprinted into sizeStr and expect to see this string in the debugger.

              1 Reply Last reply
              0
              • EddyE Offline
                EddyE Offline
                Eddy
                wrote on last edited by
                #7

                bq. Hum, couldn’t figure out how to attach a pic to a post,

                Here is a short explanation on how to do this.
                http://developer.qt.nokia.com/wiki/ForumHelp

                Qt Certified Specialist
                www.edalsolutions.be

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #8

                  Please do not attach a picture of the log, but the log itself. You can copy it to the clipboard using the context menu.

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    babazaroni
                    wrote on last edited by
                    #9

                    OK, here it is:

                    @ childrenList <not in scope> QObjectList
                    indentLevel 0 int
                    indentString QString
                    obj 0x1020abc20 QObject *
                    sizeStr QString
                    this 0x7fff5fbff740 MainWindow *
                    typeString QString
                    x 1 int
                    @

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Duck
                      wrote on last edited by
                      #10

                      Still not the right thing. The "debugger log" is the contents of the right pane od Windows->Views->Debugger. Also, what version of Qt Creator is that?

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        babazaroni
                        wrote on last edited by
                        #11

                        OK, found it. See below.

                        The version is:

                        For Mac:
                        Qt Creator 2.2.1
                        Based on Qt 4.7.4(64 bit)
                        Built on Jun 15 2011 at 15:19:06
                        From revision 74d015d2a9

                        @desktop",shlibname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop/SoftStepForm.app/Contents/MacOS/SoftStepForm"}}
                        <44-stack-select-frame 0
                        <45-stack-list-arguments 2 0 0
                        <46-stack-list-locals 2

                        43^done,thread-ids={thread-id="2",thread-id="1"},number-of-threads="2",threads={thread={thread-id="2",state="WAITING",mach-port-number="0x1703",pthread-id="0x101581000",unique-id="0x15805",workqueue="com.apple.libdispatch-manager",workqueue_addr="0x7fff7114d960"},thread={thread-id="1",state="WAITING",mach-port-number="0xa0f",pthread-id="0x7fff7115bcc0",unique-id="0x157fb",workqueue="com.apple.main-thread",workqueue_addr="0x7fff7114d8a0"}},time={wallclock="0.00075",user="0.00029",system="0.00046",start="1309461961.635784",end="1309461961.636532"}
                        44^done,time={wallclock="0.00013",user="0.00012",system="0.00001",start="1309461961.714640",end="1309461961.714768"}
                        45^done,stack-args={frame={level="0",args={varobj={exp="this",value="0x7fff5fbff740",name="var10",numchild="2",type="MainWindow * const",typecode="PTR",dynamic_type="MainWindow *",resolved_type="MainWindow *",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"},varobj={exp="obj",value="0x1013e1e20",name="var11",numchild="2",type="QObject *",typecode="PTR",dynamic_type="KPix *",resolved_type="QObject ",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"},varobj={exp="indentLevel",value="0",name="var12",numchild="0",type="int",typecode="INT",dynamic_type="",resolved_type="int",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"}}}},time={wallclock="0.00134",user="0.00093",system="0.00041",start="1309461961.714944",end="1309461961.716280"}
                        46^done,locals={varobj={exp="x",value="1",name="var13",numchild="0",type="int",typecode="INT",dynamic_type="",resolved_type="int",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"},varobj={exp="typeString",value="{...}",name="var14",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"},varobj={exp="indentString",value="{...}",name="var15",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"},varobj={exp="sizeStr",value="{...}",name="var16",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"},varobj={exp="childrenList",value="{...}",name="var17",numchild="1",type="QObjectList",typecode="STRUCT",dynamic_type="",resolved_type="QList<QObject
                        >",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57"}},time={wallclock="0.00102",user="0.00090",system="0.00013",start="1309461961.716372",end="1309461961.717395"}
                        <47-var-delete "local.typeString"
                        <48-var-create "local.typeString" * "typeString"
                        <49-var-delete "local.indentString"
                        <50-var-create "local.indentString" * "indentString"
                        <51-var-delete "local.sizeStr"
                        <52-var-create "local.sizeStr" * "sizeStr"
                        47^done,ndeleted="1",time={wallclock="0.00004",user="0.00003",system="0.00001",start="1309461961.825291",end="1309461961.825328"}
                        48^done,name="local.typeString",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57",time={wallclock="0.00044",user="0.00032",system="0.00006",start="1309461961.825562",end="1309461961.826002"}
                        49^done,ndeleted="1",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309461961.826120",end="1309461961.826136"}
                        50^done,name="local.indentString",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57",time={wallclock="0.00023",user="0.00019",system="0.00003",start="1309461961.826279",end="1309461961.826507"}
                        51^done,ndeleted="1",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309461961.826605",end="1309461961.826620"}
                        52^done,name="local.sizeStr",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002824",block_end_addr="0x0000000100002c57",time={wallclock="0.00022",user="0.00019",system="0.00003",start="1309461961.826741",end="1309461961.826962"}
                        <53-var-evaluate-expression "local.typeString"
                        <54-var-evaluate-expression "local.indentString"
                        <55-var-evaluate-expression "local.sizeStr"
                        53^done,value="{...}",time={wallclock="0.00004",user="0.00003",system="0.00001",start="1309461961.873432",end="1309461961.873469"}
                        54^done,value="{...}",time={wallclock="0.00002",user="0.00002",system="0.00000",start="1309461961.873672",end="1309461961.873690"}
                        55^done,value="{...}",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309461961.873815",end="1309461961.873831"}
                        <Rebuild Watchmodel 2>
                        sFinished retrieving data@

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          Duck
                          wrote on last edited by
                          #12

                          sigh I give up. The real log starts with a list of debugger settings and then with command #1, not #44.

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            babazaroni
                            wrote on last edited by
                            #13

                            The entire log can't be posted due to the 6000 char post limit.

                            Here's 1-17. More to follow

                            @1show version
                            <2set breakpoint pending on
                            <3set print elements 10000
                            <4set overload-resolution off
                            <5handle SIGSEGV nopass stop print
                            <6set unwindonsignal on
                            <7pwd
                            <8set width 0
                            <9set height 0
                            <10set auto-solib-add on
                            <11-interpreter-exec console "maintenance set internal-warning quit no"
                            <12-interpreter-exec console "maintenance set internal-error quit no"
                            <13-interpreter-exec console "disassemble 0 0"
                            <14-interpreter-exec console "python execfile('/Users/Chuck/Downloads/qtcreator-build-desktop/bin/Qt Creator.app/Contents/Resources/gdbmacros/dumper.py')"
                            <15-interpreter-exec console "python execfile('/Users/Chuck/Downloads/qtcreator-build-desktop/bin/Qt Creator.app/Contents/Resources/gdbmacros/gdbmacros.py')"
                            <16-interpreter-exec console "bbsetup"
                            dOBJDUMP PROCESS COULD NOT BE STARTED. RELEASE BUILD CHECK WILL FAIL
                            dADAPTER SUCCESSFULLY STARTED
                            dNOTE: ENGINE SETUP OK
                            dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
                            dQUEUE: SETUP INFERIOR
                            dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
                            dQUEUE: SETUP INFERIOR
                            dCALL: SETUP INFERIOR
                            sSetting up inferior...
                            <17-file-exec-and-symbols "/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop/SoftStepForm.app"
                            dUNEXPECTED GDB STDERR: Undefined maintenance set command: "internal-warning quit no". Try "help maintenance set".
                            dUndefined maintenance set command: "internal-error quit no". Try "help maintenance set".
                            dUndefined command: "python". Try "help".
                            dUndefined command: "python". Try "help".
                            dUndefined command: "bbsetup". Try "help".
                            d

                            ~"GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)\n"
                            ~"Copyright 2004 Free Software Foundation, Inc.\n"
                            ~"GDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType "show copying" to see the conditions.\nThere is absolutely no warranty for GDB. Type "show warranty" for details.\n"
                            ~"This GDB was configured as "x86_64-apple-darwin"."
                            ~"\n"
                            &"show version\n"
                            ~"GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)\n"
                            ~"Copyright 2004 Free Software Foundation, Inc.\n"
                            ~"GDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType "show copying" to see the conditions.\nThere is absolutely no warranty for GDB. Type "show warranty" for details.\n"
                            ~"This GDB was configured as "x86_64-apple-darwin".\n"
                            1^done
                            dPARSING VERSION: 1^done,{logstreamoutput="show version\n",consolestreamoutput="GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)\nCopyright 2004 Free Software Foundation, Inc.\nGDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType \"show copying" to see the conditions.\nThere is absolutely no warranty for GDB. Type "show warranty" for details.\nThis GDB was configured as "x86_64-apple-darwin".\nGNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)\nCopyright 2004 Free Software Foundation, Inc.\nGDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType "show copying" to see the conditions.\nThere is absolutely no warranty for GDB. Type "show warranty" for details.\nThis GDB was configured as "x86_64-apple-darwin".\n"}
                            d
                            dUNSUPPORTED GDB VERSION GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
                            dCopyright 2004 Free Software Foundation, Inc.
                            dGDB is free software, covered by the GNU General Public License, and you are
                            dwelcome to change it and/or distribute copies of it under certain conditions.
                            dType "show copying" to see the conditions.
                            dThere is absolutely no warranty for GDB. Type "show warranty" for details.
                            dThis GDB was configured as "x86_64-apple-darwin".
                            dGNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
                            dCopyright 2004 Free Software Foundation, Inc.
                            dGDB is free software, covered by the GNU General Public License, and you are
                            dwelcome to change it and/or distribute copies of it under certain conditions.
                            dType "show copying" to see the conditions.
                            dThere is absolutely no warranty for GDB. Type "show warranty" for details.
                            dThis GDB was configured as "x86_64-apple-darwin".
                            d
                            dUSING GDB VERSION: 60350, BUILD: 1518 (APPLE)
                            &"set breakpoint pending on\n"
                            2^done
                            &"set print elements 10000\n"
                            3^done
                            &"set overload-resolution off\n"
                            4^done
                            &"handle SIGSEGV nopass stop print\n"
                            5^done
                            &"set unwindonsignal on\n"
                            6^done
                            &"pwd\n"
                            ~"Working directory /Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop.\n"
                            7^done
                            &"set width 0\n"
                            8^done
                            &"set height 0\n"
                            9^done
                            &"set auto-solib-add on\n"
                            10^done
                            11^error,msg="Undefined maintenance set command: \"internal-warning quit no". Try "help maintenance set"."
                            12^error,msg="Undefined maintenance set command: \"internal-error quit no". Try "help maintenance set"."
                            Dump of assembler code from 0x0 to 0x0:
                            End of assembler dump.
                            13^done,time={wallclock="0.00008",user="0.00005",system="0.00003",start="1309468754.180667",end="1309468754.180748"}
                            14^error,msg="Undefined command: \"python". Try "help"."
                            15^error,msg="Undefined command: \"python". Try "help"."
                            16^error,msg="Undefined command: \"bbsetup". Try "help"."
                            17^done,time={wallclock="0.45664",user="0.23576",system="0.10105",start="1309468754.182491",end="1309468754.639130"}
                            sSetting breakpoints...
                            dSetting breakpoints...
                            @

                            1 Reply Last reply
                            0
                            • B Offline
                              B Offline
                              babazaroni
                              wrote on last edited by
                              #14

                              18-23 (23 is too large, so just some)

                              @18-break-insert -l -1 -f ""mainwindow.cpp":164"
                              dATTEMPT SYNC

                              18^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100002887",func="MainWindow::listChildren(QObject*, int)",file="../SoftStepForm/src/mainwindow/mainwindow.cpp",line="168",shlib="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop/SoftStepForm.app/Contents/MacOS/SoftStepForm",times="0"},time={wallclock="0.04919",user="0.04104",system="0.00744",start="1309468754.647350",end="1309468754.696540"}
                              <19info line *0x100002887
                              &"info line 0x100002887\n"
                              ~"Line 168 of "../SoftStepForm/src/mainwindow/mainwindow.cpp" starts at address 0x100002887 <ZN10MainWindow12listChildrenEP7QObjecti+131> and ends at 0x100002933 <ZN10MainWindow12listChildrenEP7QObjecti+303>.\n"
                              19^done
                              dALL COMMANDS DONE; INVOKING CALLBACK
                              <20maint print msymbols /var/folders/Iw/IwvLjDL0Fve9fKnHEI1XgE+++TI/-Tmp-/gdb_ns
                              .EW4283
                              &"maint print msymbols /var/folders/Iw/IwvLjDL0Fve9fKnHEI1XgE+++TI/-Tmp-/gdb_ns
                              .EW4283\n"
                              20^done
                              dFOUND NON-NAMESPACED QT
                              <21-break-insert -f 'qFatal'
                              21^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x003126e978ac90ce",at="<qFatal(char const
                              , ...)+46>",shlib="/usr/local/Trolltech/Qt-4.7.3/lib/QtCore.framework/Versions/4/QtCore",times="0"},time={wallclock="0.00373",user="0.00358",system="0.00015",start="1309468755.174588",end="1309468755.178317"}
                              <22-break-commands 2 return
                              dNOTE: INFERIOR SETUP OK
                              dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
                              dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
                              dQUEUE: RUN ENGINE
                              dCALL: RUN ENGINE
                              <23-exec-run
                              22^done,time={wallclock="0.00002",user="0.00001",system="0.00001",start="1309468755.181806",end="1309468755.181829"}
                              ~"[Switching to process 4794 thread 0x0]\n"
                              dFOUND PID 4794
                              dTaking notice of pid 4794
                              =shlibs-updated
                              23^running
                              dNOTE: ENGINE RUN AND INFERIOR RUN OK
                              dState changed from EngineRunRequested(7) to InferiorRunOk(11).
                              dINFERIOR STARTED
                              sApplication started
                              @

                              1 Reply Last reply
                              0
                              • B Offline
                                B Offline
                                babazaroni
                                wrote on last edited by
                                #15

                                23-28 (25 is too large)

                                @>23*stopped,time={wallclock="4.47893",user="1.29676",system="0.67154",start="1309468755.183108",end="1309468759.662043"},reason="breakpoint-hit",commands="no",times="1",bkptno="1",thread-id="1"
                                dNOTE: INFERIOR SPONTANEOUS STOP
                                dState changed from InferiorRunOk(11) to InferiorStopOk(14).
                                dThe debugging helper library was not found at .
                                <24p 4

                                &"p 4\n"
                                ~"$1 = 4"
                                ~"\n"
                                24^done
                                <25info shared
                                <26-break-list
                                sStopped at breakpoint 1 (1) in thread 1.
                                &"info shared\n"
                                <27-stack-list-frames 0 20
                                <28-thread-list-ids
                                25^done,shlib-info={num="1",name="dyld",kind="-",dyld-addr="0x7fff5fc00000",reason="dyld",requested-state="Y",state="Y",path="/usr/lib/dyld",description="/usr/lib/dyld",loaded_addr="0x7fff5fc00000",slide="0x0",prefix="_dyld"},shlib-info={num="2",name="liblangid.dylib",kind="-",dyld-addr="0x7fff81c9c000",reason="dyld",requested-state="Y",state="Y",path="/usr/lib/liblangid.dylib",description="/usr/lib/liblangid.dylib",loaded_addr="0x7fff81c9c000",slide="0x7fff81c9c000",prefix=""},shlib-info={num="3",name="QtXml",kind="F",dyld-addr="0x10022c000",reason="dyld",requested-state="Y",state="Y",path="/usr/local/Trolltech/Qt-4.7.3/lib/QtXml.framework/Versions/4/QtXml",description="/usr/local/Trolltech/Qt-4.7.3/lib/QtXml.framework/Versions/4/QtXml",loaded_addr="0x10022c000",slide="0x10022c000",prefix=""},shlib-info={num="4",name="QtCore",kind="F",dyld-addr="0x100283000",reason="dyld",requested-state="Y",state="Y",path="/usr/local/Trolltech/Qt-4.7.3/lib/QtCore.framework/Versions/4/QtCore",description="/usr/local/Trolltech/Qt-4.7.3/lib/QtCore.framework/Versions/4/QtCore",loaded_addr="0x100283000",slide="0x100283000",prefix=""},shlib-info={num="5",name="QtGui",kind="F",dyld-addr="0x10059f000",reason="dyld",requested-state="Y",state="Y",path="/usr/local/Trolltech/Qt-4.7.3/lib/QtGui.framework/Versions/4/QtGui",description="/usr/local/Trolltech/Qt-4.7.3/lib/QtGui.framework/Versions/4/QtGui",loaded_addr="0x10059f000",slide="0x10059f000",prefix=""},shlib-info={num="6",name="libstdc++.6.0.9.dylib",kind="-",dyld-addr="0x7fff875f5000",reason="dyld",requested-state="Y",state="Y",path="/usr/lib/libstdc++.6.0.9.dylib",description="/usr/lib/libstdc++.6.0.9.dylib",loaded_addr="0x7fff875f5000",slide="0x7fff875f5000",prefix=""},shlib-info={num="7",name="libSystem.B.dylib",kind="-",dyld-addr="0x7fff8908e000",reason="dyld",requested-state="Y",state="Y",path="/usr/lib/libSystem.B.dylib",description="/usr/lib/libSystem.B.dylib",loaded_addr="0x7fff8908e000",slide="0x7fff8908e000",prefix="",commpage-objpath="/usr/lib/libSystem.B.dylib[LC_SEGMENT.__DATA.__commpage]"},shlib-info={num="8",name="libz.1.2.3.dylib",kind="-",dyld-addr="0x7fff82869000",reason="dyld",requested-state="Y",state="Y",path="/usr/lib/libz.1.2.3.dylib",description="/usr/lib/libz.1.2.3.dylib",loaded_addr="0x7fff82869000",slide="0x7fff82869000",prefix=""},shlib-info={num="9",name="ApplicationServices",kind="F",dyld-addr="0x7fff83cbc000",reason="dyld",requested-state="Y",state="Y",path="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices",description="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/@

                                1 Reply Last reply
                                0
                                • B Offline
                                  B Offline
                                  babazaroni
                                  wrote on last edited by
                                  #16

                                  29-31

                                  @<29-stack-select-frame 0
                                  <30-stack-list-arguments 2 0 0
                                  <31-stack-list-locals 2

                                  28^done,thread-ids={thread-id="3",thread-id="2",thread-id="1"},number-of-threads="3",threads={thread={thread-id="3",state="WAITING",mach-port-number="0x1803",pthread-id="0x101604000",unique-id="0x178ac"},thread={thread-id="2",state="WAITING",mach-port-number="0x1703",pthread-id="0x101581000",unique-id="0x178ab",workqueue="com.apple.libdispatch-manager",workqueue_addr="0x7fff7114d960"},thread={thread-id="1",state="WAITING",mach-port-number="0xa0f",pthread-id="0x7fff7115bcc0",unique-id="0x178a3",workqueue="com.apple.main-thread",workqueue_addr="0x7fff7114d8a0"}},time={wallclock="0.00108",user="0.00042",system="0.00066",start="1309468759.795901",end="1309468759.796983"}
                                  29^done,time={wallclock="0.00014",user="0.00013",system="0.00001",start="1309468759.851471",end="1309468759.851609"}
                                  30^done,stack-args={frame={level="0",args={varobj={exp="this",value="0x7fff5fbff740",name="var1",numchild="2",type="MainWindow * const",typecode="PTR",dynamic_type="MainWindow *",resolved_type="MainWindow *",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="obj",value="0x102e18780",name="var2",numchild="2",type="QObject *",typecode="PTR",dynamic_type="KPix *",resolved_type="QObject *",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="indentLevel",value="0",name="var3",numchild="0",type="int",typecode="INT",dynamic_type="",resolved_type="int",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"}}}},time={wallclock="0.00166",user="0.00105",system="0.00060",start="1309468759.851789",end="1309468759.853444"}
                                  31^done,locals={varobj={exp="wobj",value="0x102e18780",name="var4",numchild="2",type="QWidget *",typecode="PTR",dynamic_type="KPix *",resolved_type="QWidget ",in_scope="true",block_start_addr="0x0000000100002877",block_end_addr="0x0000000100002933"},varobj={exp="x",value="1",name="var5",numchild="0",type="int",typecode="INT",dynamic_type="",resolved_type="int",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="typeString",value="{...}",name="var6",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="indentString",value="{...}",name="var7",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="sizeStr",value="{...}",name="var8",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="childrenList",value="{...}",name="var9",numchild="1",type="QObjectList",typecode="STRUCT",dynamic_type="",resolved_type="QList<QObject>",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"}},time={wallclock="0.00161",user="0.00132",system="0.00029",start="1309468759.853542",end="1309468759.855156"}
                                  @

                                  1 Reply Last reply
                                  0
                                  • B Offline
                                    B Offline
                                    babazaroni
                                    wrote on last edited by
                                    #17

                                    32-43

                                    @<32-var-delete "local.typeString"
                                    <33-var-create "local.typeString" * "typeString"
                                    <34-var-delete "local.indentString"
                                    <35-var-create "local.indentString" * "indentString"
                                    <36-var-delete "local.sizeStr"
                                    <37-var-create "local.sizeStr" * "sizeStr"

                                    32^error,msg="Variable object not found"
                                    33^done,name="local.typeString",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37",time={wallclock="0.00041",user="0.00035",system="0.00006",start="1309468759.899949",end="1309468759.900358"}
                                    34^error,msg="Variable object not found"
                                    35^done,name="local.indentString",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37",time={wallclock="0.00022",user="0.00019",system="0.00003",start="1309468759.900652",end="1309468759.900871"}
                                    36^error,msg="Variable object not found"
                                    37^done,name="local.sizeStr",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37",time={wallclock="0.00021",user="0.00018",system="0.00003",start="1309468759.901116",end="1309468759.901325"}
                                    <38-var-evaluate-expression "local.typeString"
                                    <39-var-evaluate-expression "local.indentString"
                                    <40-var-evaluate-expression "local.sizeStr"
                                    38^done,value="{...}",time={wallclock="0.00003",user="0.00003",system="0.00001",start="1309468759.911261",end="1309468759.911294"}
                                    39^done,value="{...}",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309468759.911494",end="1309468759.911511"}
                                    40^done,value="{...}",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309468759.911634",end="1309468759.911650"}
                                    <Rebuild Watchmodel 1>
                                    sFinished retrieving data
                                    --- token barrier ---
                                    dNOTE: INFERIOR RUN REQUESTED
                                    dState changed from InferiorStopOk(14) to InferiorRunRequested(10).
                                    sStep next requested...
                                    <41-exec-next
                                    41^running
                                    dNOTE: INFERIOR RUN OK
                                    dState changed from InferiorRunRequested(10) to InferiorRunOk(11).
                                    41*stopped,time={wallclock="0.03438",user="0.01075",system="0.01868",start="1309468766.932615",end="1309468766.966992"},reason="end-stepping-range",thread-id="1"
                                    dNOTE: INFERIOR SPONTANEOUS STOP
                                    dState changed from InferiorRunOk(11) to InferiorStopOk(14).
                                    sStopped: "end-stepping-range"
                                    <42-stack-list-frames 0 20
                                    <43-thread-list-ids
                                    42^error,msg="mi_cmd_stack_list_frames: Not enough frames in stack.",stack={frame={level="0",addr="0x0000000100002933",fp="0x00007fff5fbff620",func="MainWindow::listChildren",optimized="0",file="../SoftStepForm/src/mainwindow/mainwindow.cpp",fullname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm/src/mainwindow/mainwindow.cpp",line="174",dir="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop",shlibname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop/SoftStepForm.app/Contents/MacOS/SoftStepForm"},frame={level="1",addr="0x00000001000031ef",fp="0x00007fff5fbff6d0",func="MainWindow::setupFrontPanelFromForm",optimized="0",file="../SoftStepForm/src/mainwindow/mainwindow.cpp",fullname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm/src/mainwindow/mainwindow.cpp",line="73",dir="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop",shlibname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop/SoftStepForm.app/Contents/MacOS/SoftStepForm"},frame={level="2",addr="0x000000010000380b",fp="0x00007fff5fbff720",func="MainWindow::MainWindow",optimized="0",file="../SoftStepForm/src/mainwindow/mainwindow.cpp",fullname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm/src/mainwindow/mainwindow.cpp",line="20",dir="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop",shlibname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop/SoftStepForm.app/Contents/MacOS/SoftStepForm"},frame={level="3",addr="0x0000000100002623",fp="0x00007fff5fbff7e0",func="main",optimized="0",file="../SoftStepForm/src/mainwindow/main.cpp",fullname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm/src/mainwindow/main.cpp",line="9",dir="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop",shlibname="/Users/Chuck/Documents/work/SoftStep/SoftStepQT/SoftStepForm-build-desktop/SoftStepForm.app/Contents/MacOS/SoftStepForm"}}
                                    @

                                    1 Reply Last reply
                                    0
                                    • B Offline
                                      B Offline
                                      babazaroni
                                      wrote on last edited by
                                      #18

                                      44-55 (that's all)

                                      @<44-stack-select-frame 0
                                      <45-stack-list-arguments 2 0 0
                                      <46-stack-list-locals 2

                                      43^done,thread-ids={thread-id="2",thread-id="1"},number-of-threads="2",threads={thread={thread-id="2",state="WAITING",mach-port-number="0x1703",pthread-id="0x101581000",unique-id="0x178ab",workqueue="com.apple.libdispatch-manager",workqueue_addr="0x7fff7114d960"},thread={thread-id="1",state="WAITING",mach-port-number="0xa0f",pthread-id="0x7fff7115bcc0",unique-id="0x178a3",workqueue="com.apple.main-thread",workqueue_addr="0x7fff7114d8a0"}},time={wallclock="0.00076",user="0.00030",system="0.00046",start="1309468766.976158",end="1309468766.976914"}
                                      44^done,time={wallclock="0.00012",user="0.00011",system="0.00001",start="1309468766.995667",end="1309468766.995787"}
                                      45^done,stack-args={frame={level="0",args={varobj={exp="this",value="0x7fff5fbff740",name="var10",numchild="2",type="MainWindow * const",typecode="PTR",dynamic_type="MainWindow *",resolved_type="MainWindow *",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="obj",value="0x102e18780",name="var11",numchild="2",type="QObject *",typecode="PTR",dynamic_type="KPix *",resolved_type="QObject ",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="indentLevel",value="0",name="var12",numchild="0",type="int",typecode="INT",dynamic_type="",resolved_type="int",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"}}}},time={wallclock="0.00132",user="0.00093",system="0.00039",start="1309468766.995904",end="1309468766.997224"}
                                      46^done,locals={varobj={exp="x",value="1",name="var13",numchild="0",type="int",typecode="INT",dynamic_type="",resolved_type="int",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="typeString",value="{...}",name="var14",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="indentString",value="{...}",name="var15",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="sizeStr",value="{...}",name="var16",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"},varobj={exp="childrenList",value="{...}",name="var17",numchild="1",type="QObjectList",typecode="STRUCT",dynamic_type="",resolved_type="QList<QObject
                                      >",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37"}},time={wallclock="0.00114",user="0.00091",system="0.00014",start="1309468766.997324",end="1309468766.998462"}
                                      <47-var-delete "local.typeString"
                                      <48-var-create "local.typeString" * "typeString"
                                      <49-var-delete "local.indentString"
                                      <50-var-create "local.indentString" * "indentString"
                                      <51-var-delete "local.sizeStr"
                                      <52-var-create "local.sizeStr" * "sizeStr"
                                      47^done,ndeleted="1",time={wallclock="0.00004",user="0.00003",system="0.00001",start="1309468767.079889",end="1309468767.079931"}
                                      48^done,name="local.typeString",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37",time={wallclock="0.00037",user="0.00032",system="0.00005",start="1309468767.080145",end="1309468767.080516"}
                                      49^done,ndeleted="1",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309468767.080627",end="1309468767.080643"}
                                      50^done,name="local.indentString",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37",time={wallclock="0.00021",user="0.00018",system="0.00003",start="1309468767.080785",end="1309468767.080997"}
                                      51^done,ndeleted="1",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309468767.081093",end="1309468767.081109"}
                                      52^done,name="local.sizeStr",numchild="1",type="QString",typecode="STRUCT",dynamic_type="",resolved_type="QString",in_scope="true",block_start_addr="0x0000000100002804",block_end_addr="0x0000000100002c37",time={wallclock="0.00021",user="0.00018",system="0.00003",start="1309468767.081228",end="1309468767.081434"}
                                      <53-var-evaluate-expression "local.typeString"
                                      <54-var-evaluate-expression "local.indentString"
                                      <55-var-evaluate-expression "local.sizeStr"
                                      53^done,value="{...}",time={wallclock="0.00003",user="0.00003",system="0.00001",start="1309468767.098278",end="1309468767.098313"}
                                      54^done,value="{...}",time={wallclock="0.00002",user="0.00001",system="0.00000",start="1309468767.098511",end="1309468767.098528"}
                                      55^done,value="{...}",time={wallclock="0.00003",user="0.00002",system="0.00001",start="1309468767.098651",end="1309468767.098683"}
                                      <Rebuild Watchmodel 2>
                                      sFinished retrieving data
                                      @

                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        Duck
                                        wrote on last edited by
                                        #19

                                        The result 23 contains "dThe debugging helper library was not found at ."

                                        So for some reason the libDebuggingHelper.1.0.0.dylib you mentioned was not taken into consideration.

                                        Can you verify that this matches architecture-wise your application?

                                        1 Reply Last reply
                                        0
                                        • B Offline
                                          B Offline
                                          babazaroni
                                          wrote on last edited by
                                          #20

                                          Nice find. The project was created by QtCreator using the Qt Gui Application template. Creator maybe looking for the plugins elsewhere. I just re verified that libDebuggingHelper is in the resource of the app bundle.

                                          I have the compiled open source edition installed, as well as the sdk.

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved