[Qt-creator] Debugging Helper broken in 1.2?

Robert Caldecott robert.caldecott at gmail.com
Thu Jun 25 22:14:07 CEST 2009


Just installed 1.2 on my home laptop and am having exactly the same
problem.  Rebuilding the debugging helpers made no difference.  Here
is my Debugger View pane contents after breaking in the constructor of
a simple MainWindow project (warning: it's a lot of info):

status:Starting Debugger: C:\Qt\2009.03\mingw\bin\gdb.exe
--tty=\\.\pipe\creator-1488-20895 -i mi
status:Gdb Running...
debug:Debugger settings:
debug:
debug:
debug:
debug:false
debug:
debug:C:\Qt\2009.03\mingw\bin\gdb.exe
debug:
debug:
debug:
debug:20
debug:
debug:
debug:
debug:
debug:false
debug:
debug:
debug:
debug:
debug:
debug:true
debug:
debug:
debug:false
debug:false
debug:false
debug:false
debug:
debug:true
debug:false
debug:false
debug:
debug:
debug:
debug:
debug:
debug:
debug:
input:1show version
input:2set print static-members off
input:3set print inferior-events 1
input:4set breakpoint pending on
input:5set print elements 10000
input:6-data-list-register-names
input:7set overload-resolution off
input:8handle SIGSEGV nopass stop print
input:9set unwindonsignal on
input:10set width 0
input:11set height 0
input:12-file-exec-and-symbols "C:/Documents and
Settings/Rob.CALDECOTT/My Documents/Test/debug/Test.exe"
input:13info target
            21:11:16.781
stdout:~"GNU gdb 6.8\n"
            21:11:16.781
stdout:~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
            21:11:16.781
stdout:~"License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>\n"
            21:11:16.781
stdout:~"This is free software: you are free to change and redistribute it.\n"
            21:11:16.781
stdout:~"There is NO WARRANTY, to the extent permitted by law.  Type
\"show copying\"\n"
            21:11:16.781
stdout:~"and \"show warranty\" for details.\n"
            21:11:16.781
stdout:~"This GDB was configured as \"i686-pc-mingw32\".\n"
            21:11:16.781
stdout:(gdb)
status:Running requested...
            21:11:16.890
stdout:&"show version\n"
            21:11:16.890
stdout:~"GNU gdb 6.8\n"
            21:11:16.890
stdout:~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
            21:11:16.890
stdout:~"License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>\n"
            21:11:16.890
stdout:~"This is free software: you are free to change and redistribute it.\n"
            21:11:16.890
stdout:~"There is NO WARRANTY, to the extent permitted by law.  Type
\"show copying\"\n"
            21:11:16.890
stdout:~"and \"show warranty\" for details.\n"
            21:11:16.890
stdout:~"This GDB was configured as \"i686-pc-mingw32\".\n"
            21:11:16.890
stdout:1^done
debug:VERSION: 1^done,{logstreamoutput="show
version\n",consolestreamoutput="GNU gdb 6.8\nCopyright (C) 2008 Free
Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>\nThis is free software: you are
free to change and redistribute it.\nThere is NO WARRANTY, to the
extent permitted by law.  Type \"show copying\"\nand \"show warranty\"
for details.\nThis GDB was configured as \"i686-pc-mingw32\".\nGNU gdb
6.8\nCopyright (C) 2008 Free Software Foundation, Inc.\nLicense
GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>\nThis is free software: you are
free to change and redistribute it.\nThere is NO WARRANTY, to the
extent permitted by law.  Type \"show copying\"\nand \"show warranty\"
for details.\nThis GDB was configured as \"i686-pc-mingw32\".\n"}
debug:
debug:GDB VERSION: 60800
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set print static-members off\n"
            21:11:16.890
stdout:2^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set print inferior-events 1\n"
            21:11:16.890
stdout:&"Undefined set print command: \"inferior-events 1\".  Try
\"help set print\".\n"
            21:11:16.890
stdout:3^error,msg="Undefined set print command: \"inferior-events
1\".  Try \"help set print\"."
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set breakpoint pending on\n"
            21:11:16.890
stdout:4^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set print elements 10000\n"
            21:11:16.890
stdout:5^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:6^done,register-names=["eax","ecx","edx","ebx","esp","ebp","esi","edi","eip","eflags","cs","ss","ds","es","fs","gs","st0","st1","st2","st3","st4","st5","st6","st7","fctrl","fstat","ftag","fiseg","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7","mxcsr","mm0","mm1","mm2","mm3","mm4","mm5","mm6","mm7"]
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set overload-resolution off\n"
            21:11:16.890
stdout:7^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"handle SIGSEGV nopass stop print\n"
            21:11:16.890
stdout:~"Signal        Stop\tPrint\tPass to program\tDescription\n"
            21:11:16.890
stdout:~"SIGSEGV       Yes\tYes\tNo\t\tSegmentation fault\n"
            21:11:16.890
stdout:8^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set unwindonsignal on\n"
            21:11:16.890
stdout:9^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set width 0\n"
            21:11:16.890
stdout:10^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"set height 0\n"
            21:11:16.890
stdout:11^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:12^done
            21:11:16.890
stdout:(gdb)
            21:11:16.890
stdout:&"info target\n"
            21:11:16.890
stdout:~"Symbols from \"C:/Documents and Settings/Rob.CALDECOTT/My
Documents/Test/debug/Test.exe\".\n"
            21:11:16.890
stdout:~"Local exec file:\n"
            21:11:16.890
stdout:~"\t`C:/Documents and Settings/Rob.CALDECOTT/My
Documents/Test/debug/Test.exe', file type pei-i386.\n"
            21:11:16.890
stdout:~"\tEntry point: 0x4012a0\t0x00401000 - 0x0040e3a8 is .text\n"
            21:11:16.890
stdout:~"\t0x0040f000 - 0x0040fb28 is .data\n"
            21:11:16.890
stdout:~"\t0x00410000 - 0x00414110 is .bss\n"
            21:11:16.890
stdout:~"\t0x00415000 - 0x00416b0c is .idata\n"
            21:11:16.890
stdout:13^done
input:14tbreak *0x4012a0
input:15-exec-run
            21:11:16.890
stdout:(gdb)
            21:11:17.109
stdout:&"tbreak *0x4012a0\n"
            21:11:17.109
stdout:~"Breakpoint 1 at 0x4012a0\n"
            21:11:17.109
stdout:14^done
            21:11:17.109
stdout:(gdb)
            21:11:17.109
stdout:15^running
            21:11:17.109
stdout:(gdb)
            21:11:17.109
stdout:~"[New thread 3264.0x5e8]\n"
status:Stopped.
            21:11:18.968
stdout:15*stopped,thread-id="1",frame={addr="0x004012a0",func="WinMainCRTStartup",args=[]}
input:16info thread
input:17set auto-solib-add on
input:18set stop-on-solib-events 0
input:19sharedlibrary .*
input:20info shared
debug:Current state: 5
input:21-break-insert "\"mainwindow.cpp\":24"
            21:11:18.968
stdout:(gdb)
            21:11:19.187
stdout:&"info thread\n"
            21:11:19.187
stdout:~"* 1 thread 3264.0x5e8  0x004012a0 in WinMainCRTStartup ()\n"
            21:11:19.187
stdout:16^done
debug:FOUND PID 3264
debug:Dumper injection loading triggered
(C:/Qt/2009.03/qt/qtc-debugging-helper/debug/gdbmacros.dll)...
            21:11:19.187
stdout:(gdb)
            21:11:19.187
stdout:&"set auto-solib-add on\n"
            21:11:19.187
stdout:17^done
            21:11:19.187
stdout:(gdb)
            21:11:19.187
stdout:&"set stop-on-solib-events 0\n"
            21:11:19.187
stdout:18^done
            21:11:19.187
stdout:(gdb)
            21:11:19.187
stdout:&"sharedlibrary .*\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\ntdll.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\kernel32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\Qt\\2009.03\\mingw\\bin\\mingwm10.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\msvcrt.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\Qt\\2009.03\\qt\\bin\\QtCored4.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\advapi32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\rpcrt4.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\secur32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\ole32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\gdi32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\user32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\ws2_32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\ws2help.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\Qt\\2009.03\\qt\\bin\\QtGuid4.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\comdlg32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\comctl32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\shell32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\shlwapi.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\imm32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\oleaut32.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\winmm.dll\n"
            21:11:19.187
stdout:~"Symbols already loaded for C:\\WINDOWS\\system32\\winspool.drv\n"
            21:11:19.187
stdout:~"Symbols already loaded for
C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll\n"
            21:11:19.187
stdout:19^done
            21:11:19.187
stdout:(gdb)
            21:11:19.187
stdout:&"info shared\n"
            21:11:19.187
stdout:~"From        To          Syms Read   Shared Object Library\n"
            21:11:19.187
stdout:~"0x7c901000  0x7c9b1eb8  Yes         C:\\WINDOWS\\system32\\ntdll.dll\n"
            21:11:19.187
stdout:~"0x7c801000  0x7c8f5c84  Yes
C:\\WINDOWS\\system32\\kernel32.dll\n"
            21:11:19.187
stdout:~"0x6fbc1000  0x6fbc71c0  Yes
C:\\Qt\\2009.03\\mingw\\bin\\mingwm10.dll\n"
            21:11:19.187
stdout:~"0x77c11000  0x77c67d74  Yes
C:\\WINDOWS\\system32\\msvcrt.dll\n"
            21:11:19.187
stdout:~"0x6a101000  0x6a3b1c98  Yes
C:\\Qt\\2009.03\\qt\\bin\\QtCored4.dll\n"
            21:11:19.187
stdout:~"0x77dd1000  0x77e6aaf8  Yes
C:\\WINDOWS\\system32\\advapi32.dll\n"
            21:11:19.187
stdout:~"0x77e71000  0x77f01488  Yes
C:\\WINDOWS\\system32\\rpcrt4.dll\n"
            21:11:19.187
stdout:~"0x77fe1000  0x77ff0884  Yes
C:\\WINDOWS\\system32\\secur32.dll\n"
            21:11:19.187
stdout:~"0x774e1000  0x7761c0d4  Yes         C:\\WINDOWS\\system32\\ole32.dll\n"
            21:11:19.187
stdout:~"0x77f11000  0x77f58870  Yes         C:\\WINDOWS\\system32\\gdi32.dll\n"
            21:11:19.187
stdout:~"0x7e411000  0x7e4a0de4  Yes
C:\\WINDOWS\\system32\\user32.dll\n"
            21:11:19.187
stdout:~"0x71ab1000  0x71ac6dc8  Yes
C:\\WINDOWS\\system32\\ws2_32.dll\n"
            21:11:19.187
stdout:~"0x71aa1000  0x71aa7320  Yes
C:\\WINDOWS\\system32\\ws2help.dll\n"
            21:11:19.187
stdout:~"0x00641000  0x01116788  Yes
C:\\Qt\\2009.03\\qt\\bin\\QtGuid4.dll\n"
            21:11:19.187
stdout:~"0x763b1000  0x763f84dc  Yes
C:\\WINDOWS\\system32\\comdlg32.dll\n"
            21:11:19.187
stdout:~"0x5d091000  0x5d129080  Yes
C:\\WINDOWS\\system32\\comctl32.dll\n"
            21:11:19.187
stdout:~"0x7c9c1000  0x7d1d64c0  Yes
C:\\WINDOWS\\system32\\shell32.dll\n"
            21:11:19.187
stdout:~"0x77f61000  0x77fd59d4  Yes
C:\\WINDOWS\\system32\\shlwapi.dll\n"
            21:11:19.187
stdout:~"0x76391000  0x763acc6c  Yes         C:\\WINDOWS\\system32\\imm32.dll\n"
            21:11:19.187
stdout:~"0x77121000  0x771aa414  Yes
C:\\WINDOWS\\system32\\oleaut32.dll\n"
            21:11:19.187
stdout:~"0x76b41000  0x76b6c8b4  Yes         C:\\WINDOWS\\system32\\winmm.dll\n"
            21:11:19.187
stdout:~"0x73001000  0x7302551c  Yes
C:\\WINDOWS\\system32\\winspool.drv\n"
            21:11:19.187
stdout:~"0x773d1000  0x774d2e28  Yes
C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll\n"
            21:11:19.187
stdout:20^done
            21:11:19.187
stdout:(gdb)
            21:11:19.187
stdout:21^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",addr="0x004017d6",times="0"}
input:22info break 2
            21:11:19.187
stdout:(gdb)
status:Running requested...
status:Continuing after temporary stop.
            21:11:19.406
stdout:&"info break 2\n"
            21:11:19.406
stdout:~"Num     Type           Disp Enb Address    What\n"
            21:11:19.406
stdout:~"2       breakpoint     keep y   <MULTIPLE> 0x004017d6\n"
            21:11:19.406
stdout:~"2.1                         y     0x004017d6 in
MainWindow::MainWindow(QWidget*) at mainwindow.cpp:24\n"
            21:11:19.406
stdout:~"2.2                         y     0x00401ad0 in
MainWindow::MainWindow(QWidget*) at mainwindow.cpp:24\n"
            21:11:19.406
stdout:22^done
input:--- token barrier ---
input:23-exec-continue
            21:11:19.406
stdout:(gdb)
status:Running...
            21:11:19.625
stdout:23^running
            21:11:19.625
stdout:(gdb)
            21:11:19.625
stdout:~"[New thread 3264.0x980]\n"
status:Stopped at breakpoint.
            21:11:20.609
stdout:~"Current language:  auto; currently c++\n"
            21:11:20.609
stdout:23*stopped,reason="breakpoint-hit",bkptno="2",thread-id="1",frame={addr="0x00401ad0",func="MainWindow::MainWindow",args=[{name="this",value="0x22fdd0"},{name="parent",value="0x0"}],file="mainwindow.cpp",fullname="C:/Documents
and Settings/Rob.CALDECOTT/My
Documents/Test/mainwindow.cpp",line="24"}
input:24info shared
input:25-break-list
input:26p 0
            21:11:20.609
stdout:(gdb)
status:Stopped.
            21:11:20.828
stdout:&"info shared\n"
            21:11:20.828
stdout:~"From        To          Syms Read   Shared Object Library\n"
            21:11:20.828
stdout:~"0x7c901000  0x7c9b1eb8  Yes         C:\\WINDOWS\\system32\\ntdll.dll\n"
            21:11:20.828
stdout:~"0x7c801000  0x7c8f5c84  Yes
C:\\WINDOWS\\system32\\kernel32.dll\n"
            21:11:20.828
stdout:~"0x6fbc1000  0x6fbc71c0  Yes
C:\\Qt\\2009.03\\mingw\\bin\\mingwm10.dll\n"
            21:11:20.828
stdout:~"0x77c11000  0x77c67d74  Yes
C:\\WINDOWS\\system32\\msvcrt.dll\n"
            21:11:20.828
stdout:~"0x6a101000  0x6a3b1c98  Yes
C:\\Qt\\2009.03\\qt\\bin\\QtCored4.dll\n"
            21:11:20.828
stdout:~"0x77dd1000  0x77e6aaf8  Yes
C:\\WINDOWS\\system32\\advapi32.dll\n"
            21:11:20.828
stdout:~"0x77e71000  0x77f01488  Yes
C:\\WINDOWS\\system32\\rpcrt4.dll\n"
            21:11:20.828
stdout:~"0x77fe1000  0x77ff0884  Yes
C:\\WINDOWS\\system32\\secur32.dll\n"
            21:11:20.828
stdout:~"0x774e1000  0x7761c0d4  Yes         C:\\WINDOWS\\system32\\ole32.dll\n"
            21:11:20.828
stdout:~"0x77f11000  0x77f58870  Yes         C:\\WINDOWS\\system32\\gdi32.dll\n"
            21:11:20.828
stdout:~"0x7e411000  0x7e4a0de4  Yes
C:\\WINDOWS\\system32\\user32.dll\n"
            21:11:20.828
stdout:~"0x71ab1000  0x71ac6dc8  Yes
C:\\WINDOWS\\system32\\ws2_32.dll\n"
            21:11:20.828
stdout:~"0x71aa1000  0x71aa7320  Yes
C:\\WINDOWS\\system32\\ws2help.dll\n"
            21:11:20.828
stdout:~"0x00641000  0x01116788  Yes
C:\\Qt\\2009.03\\qt\\bin\\QtGuid4.dll\n"
            21:11:20.828
stdout:~"0x763b1000  0x763f84dc  Yes
C:\\WINDOWS\\system32\\comdlg32.dll\n"
            21:11:20.828
stdout:~"0x5d091000  0x5d129080  Yes
C:\\WINDOWS\\system32\\comctl32.dll\n"
            21:11:20.828
stdout:~"0x7c9c1000  0x7d1d64c0  Yes
C:\\WINDOWS\\system32\\shell32.dll\n"
            21:11:20.828
stdout:~"0x77f61000  0x77fd59d4  Yes
C:\\WINDOWS\\system32\\shlwapi.dll\n"
            21:11:20.828
stdout:~"0x76391000  0x763acc6c  Yes         C:\\WINDOWS\\system32\\imm32.dll\n"
            21:11:20.828
stdout:~"0x77121000  0x771aa414  Yes
C:\\WINDOWS\\system32\\oleaut32.dll\n"
            21:11:20.828
stdout:~"0x76b41000  0x76b6c8b4  Yes         C:\\WINDOWS\\system32\\winmm.dll\n"
            21:11:20.828
stdout:~"0x73001000  0x7302551c  Yes
C:\\WINDOWS\\system32\\winspool.drv\n"
            21:11:20.828
stdout:~"0x773d1000  0x774d2e28  Yes
C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll\n"
            21:11:20.828
stdout:~"0x5ad71000  0x5ada7990  Yes
C:\\WINDOWS\\system32\\uxtheme.dll\n"
            21:11:20.828
stdout:~"0x70781000  0x708a80c8  Yes
C:\\Qt\\2009.03\\qt\\qtc-debugging-helper\\debug\\gdbmacros.dll\n"
            21:11:20.828
stdout:~"0x74721000  0x7476bc4c  Yes         C:\\WINDOWS\\system32\\MSCTF.dll\n"
            21:11:20.828
stdout:~"0x755c1000  0x755edba2  Yes
C:\\WINDOWS\\system32\\msctfime.ime\n"
            21:11:20.828
stdout:24^done
            21:11:20.828
stdout:(gdb)
            21:11:20.828
stdout:25^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",addr="0x004017d6",times="1"}]}
            21:11:20.828
stdout:(gdb)
            21:11:20.828
stdout:&"p 0\n"
            21:11:20.828
stdout:~"$1 = 0"
            21:11:20.828
stdout:~"\n"
            21:11:20.828
stdout:26^done
input:27call (void*)qDumpObjectData440(1,27+1,0,0,0,0,0,0)
input:28p (char*)&qDumpOutBuffer
input:29-stack-list-arguments 2 0 0
input:30-stack-list-locals 2
input:31-stack-list-frames 0 20
input:32-thread-list-ids
            21:11:20.828
stdout:(gdb)
            21:11:21.046
stdout:&"call (void*)qDumpObjectData440(1,27+1,0,0,0,0,0,0)\n"
            21:11:21.156
stdout:~"$2 = (void *) 0x707aa740\n"
            21:11:21.156
stdout:27^done
            21:11:21.156
stdout:(gdb)
            21:11:21.156
stdout:&"p (char*)&qDumpOutBuffer\n"
status:48 custom dumpers found.
            21:11:21.265
stdout:~"$3 = 0x707aa740
\"tdumpers=[\\\"QAbstractItem\\\",\\\"QAbstractItemModel\\\",\\\"QByteArray\\\",\\\"QDateTime\\\",\\\"QDir\\\",\\\"QFile\\\",\\\"QFileInfo\\\",\\\"QHash\\\",\\\"QHashNode\\\",\\\"QImage\\\",\\\"QImageData\\\",\\\"QLinkedList\\\",\\\"QList\\\",\\\"QLocale\\\",\\\"QMap\\\",\\\"QMapNode\\\",\\\"QModelIndex\\\",\\\"QMultiMap\\\",\\\"QObject\\\",\\\"QObjectMethodList\\\",\\\"QObjectPropertyList\\\",\\\"QObjectSignal\\\",\\\"QObjectSignalList\\\",\\\"QObjectSlot\\\",\\\"QObjectSlotList\\\",\\\"QSet\\\",\\\"QSharedPointer\\\",\\\"QString\\\",\\\"QStringList\\\",\\\"QTextCodec\\\",\\\"QVariant\\\",\\\"QVector\\\",\\\"QWeakPointer\\\",\\\"QWidget\\\",\\\"basic_string\\\",\\\"list\\\",\\\"map\\\",\\\"set\\\",\\\"string\\\",\\\"vector\\\",\\\"wstring\\\",\\\"std::basic_string\\\",\\\"std::list\\\",\\\"std::map\\\",\\\"std::set\\\",\\\"std::string\\\",\\\"std::vector\\\",\\\"std::wstring\\\",],qtversion=[\\\"4\\\",\\\"5\\\",\\\"2\\\"],namespace=\\\"\\\",sizes={int=\\\"4\\\",char*=\\\"4\\\",QString=\\\"4\\\",QStringList=\\\"4\\\",QObject=\\\"8\\\",QWidget=\\\"20\\\",string=\\\"4\\\",wstring=\\\"4\\\",std::string=\\\"4\\\",std::wstring=\\\"4\\\",std::allocator=\\\"1\\\"}\""
            21:11:21.265
stdout:~"\n"
            21:11:21.265
stdout:28^done
            21:11:21.265
stdout:(gdb)
            21:11:21.265
stdout:29^done,stack-args=[frame={level="0",args=[{name="this",type="MainWindow
* const",value="0x22fdd0"},{name="parent",type="class QWidget
*",value="0x0"}]}]
            21:11:21.265
stdout:(gdb)
            21:11:21.265
stdout:30^done,locals=[{name="s",type="QString"},{name="map",type="QMap<int,QString>"},{name="bytes",type="QByteArray"}]
            21:11:21.265
stdout:(gdb)
status:Retrieving data for watch view (3 requests pending)...
status:Retrieving data for watch view (5 requests pending)...
status:Retrieving data for watch view (7 requests pending)...
            21:11:21.375
stdout:31^done,stack=[frame={level="0",addr="0x00401ad0",func="MainWindow::MainWindow",file="mainwindow.cpp",fullname="C:/Documents
and Settings/Rob.CALDECOTT/My
Documents/Test/mainwindow.cpp",line="24"},frame={level="1",addr="0x0040146a",func="qMain",file="main.cpp",fullname="C:/Documents
and Settings/Rob.CALDECOTT/My
Documents/Test/main.cpp",line="7"},frame={level="2",addr="0x00402525",func="WinMain",file="qtmain_win.cpp",line="136"},frame={level="3",addr="0x00402010",func="main"}]
            21:11:21.375
stdout:(gdb)
            21:11:21.375
stdout:32^done,thread-ids={thread-id="1"},number-of-threads="1"
input:QString!local.s!s!!local.s!!
input:33set {char[28]} &qDumpInBuffer =
{81,83,116,114,105,110,103,0,108,111,99,97,108,46,115,0,115,0,0,108,111,99,97,108,46,115,0,0}
input:34call (void*)qDumpObjectData440(2,34+1,&(s),0,0,0,0,0)
input:35p (char*)&qDumpOutBuffer
input:QMap!local.map!map!int at QString!local.map!!
input:36set {char[42]} &qDumpInBuffer =
{81,77,97,112,0,108,111,99,97,108,46,109,97,112,0,109,97,112,0,105,110,116,64,81,83,116,114,105,110,103,0,108,111,99,97,108,46,109,97,112,0,0}
input:37call (void*)qDumpObjectData440(2,37+1,&(map),0,sizeof(int),sizeof(QString),sizeof(QMapNode<int,QString>),(size_t)&(('QMapNode<int,QString>'*)0)->value)
input:38p (char*)&qDumpOutBuffer
input:QByteArray!local.bytes!bytes!!local.bytes!!
input:39set {char[43]} &qDumpInBuffer =
{81,66,121,116,101,65,114,114,97,121,0,108,111,99,97,108,46,98,121,116,101,115,0,98,121,116,101,115,0,0,108,111,99,97,108,46,98,121,116,101,115,0,0}
input:40call (void*)qDumpObjectData440(2,40+1,&(bytes),0,0,0,0,0)
input:41p (char*)&qDumpOutBuffer
            21:11:21.375
stdout:(gdb)
status:Finished retrieving data.
            21:11:21.593
stdout:&"set {char[28]} &qDumpInBuffer =
{81,83,116,114,105,110,103,0,108,111,99,97,108,46,115,0,115,0,0,108,111,99,97,108,46,115,0,0}\n"
            21:11:21.593
stdout:33^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"call (void*)qDumpObjectData440(2,34+1,&(s),0,0,0,0,0)\n"
            21:11:21.593
stdout:~"$4 = (void *) 0x707aa740\n"
            21:11:21.593
stdout:34^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"p (char*)&qDumpOutBuffer\n"
            21:11:21.593
stdout:~"$5 = 0x707aa740
\"tiname=\\\"local.s\\\",addr=\\\"0x0022FD40\\\",value=\\\"VABlAHMAdAA=\\\",valueencoded=\\\"2\\\",type=\\\"QString\\\",numchild=\\\"0\\\"\""
            21:11:21.593
stdout:~"\n"
            21:11:21.593
stdout:35^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"set {char[42]} &qDumpInBuffer =
{81,77,97,112,0,108,111,99,97,108,46,109,97,112,0,109,97,112,0,105,110,116,64,81,83,116,114,105,110,103,0,108,111,99,97,108,46,109,97,112,0,0}\n"
            21:11:21.593
stdout:36^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"call (void*)qDumpObjectData440(2,37+1,&(map),0,sizeof(int),sizeof(QString),sizeof(QMapNode<int,QString>),(size_t)&(('QMapNode<int,QString>'*)0)->value)\n"
            21:11:21.593
stdout:~"$6 = (void *) 0x707aa740\n"
            21:11:21.593
stdout:37^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"p (char*)&qDumpOutBuffer\n"
            21:11:21.593
stdout:~"$7 = 0x707aa740
\"tiname=\\\"local.map\\\",addr=\\\"0x0022FD30\\\",value=\\\"<2
items>\\\",numchild=\\\"2\\\"\""
            21:11:21.593
stdout:~"\n"
            21:11:21.593
stdout:38^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"set {char[43]} &qDumpInBuffer =
{81,66,121,116,101,65,114,114,97,121,0,108,111,99,97,108,46,98,121,116,101,115,0,98,121,116,101,115,0,0,108,111,99,97,108,46,98,121,116,101,115,0,0}\n"
            21:11:21.593
stdout:39^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"call (void*)qDumpObjectData440(2,40+1,&(bytes),0,0,0,0,0)\n"
            21:11:21.593
stdout:~"$8 = (void *) 0x707aa740\n"
            21:11:21.593
stdout:40^done
            21:11:21.593
stdout:(gdb)
            21:11:21.593
stdout:&"p (char*)&qDumpOutBuffer\n"
            21:11:21.593
stdout:~"$9 = 0x707aa740
\"tiname=\\\"local.bytes\\\",addr=\\\"0x0022FD10\\\",value=\\\"YWI=\\\",valueencoded=\\\"1\\\",type=\\\"QByteArray\\\",numchild=\\\"2\\\",childtype=\\\"char\\\",childnumchild=\\\"0\\\"\""
            21:11:21.593
stdout:~"\n"
            21:11:21.593
stdout:41^done
input:[21:11:21.593]    <Rebuild Watchmodel>
            21:11:21.593
stdout:(gdb)



2009/6/25 Andre Poenitz <andre.poenitz at mathematik.tu-chemnitz.de>:
> On Thu, Jun 25, 2009 at 02:38:52PM +0100, Robert Caldecott wrote:
>> I've just upgraded to Qt Creator 1.2 and the debugging helper
>> functionality won't work.  If I enable the option in
>> Tools|Options|Debugging, and then open Tools|Options again, the option
>> is back to off.  This means I can't see Qt types when debugging.
>>
>> Just gone back to 1.1 and it works fine.
>>
>> Any ideas?
>
> Rebuild the debugging helpers using the Qt4 Settings dialog, and if that
> does not help, post the content of the right pane of the Debugger View
> (Debug -> Views -> Debugger) here.
>
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>




More information about the Qt-creator-old mailing list