I am using 1.2.91 on Windows XP and am having a problem with breakpoints.
I set a breakpoint and debug my applications - it triggers and all is
well. Each time I debug, that breakpoint works. However, if I remove
the breakpoint and set another one, it doesn't work and *no*
breakpoints are triggered. Only a restart of Qt Creator will fix
this.
Attached are two gdb logs. The first is when the breakpoint works.
The second is after the first breakpoint has been removed and re-added
on the same line (which doesn't work.)
I do notice the following - when I remove a breakpoint after running
my first (successful) debugging session I see this in the log:
DELETING BP IN C:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp15
When I add it again I see this:
Current state: 0
dNO GDB PROCESS RUNNING, CMD IGNORED: -break-insert "\"MainWindow.cpp\":15"
Any help is welcome as it's driving me nuts.
dSTATUS CHANGE: FROM <unknown> TO DebuggerProcessNotReady
dSTARTED: 0 RUNNING: 0 READY: 0
d0xbf83e00x34e98b80x34e9be02
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
sStarting debugger for tool chain 'MinGW'...
dDebugger settings:
dUseAlternatingRowColours: false (default: false)
dUseMessageBoxForSignals: true (default: true)
dAutoQuit: false (default: false)
dLogTimeStamps: false (default: false)
dUseDebuggingHelper: true (default: true)
dUseCustomDebuggingHelperLocation: false (default: false)
dCustomDebuggingHelperLocation: (default: )
dDebugDebuggingHelpers: false (default: false)
dLocation: C:\Qt\2009.03\mingw\bin\gdb.exe (default: gdb)
dEnvironment: (default: )
dScriptFile: (default: )
dMaximalStackDepth: 20 (default: 20)
dUseToolTips: true (default: false)
dUseToolTipsInLocalsView: true (default: false)
dListSourceFiles: false (default: false)
dSkipKnownFrames: true (default: false)
dEnableReverseDebugging: false (default: false)
dAllPluginBreakpoints: true (default: true)
dSelectedPluginBreakpoints: false (default: false)
dNoPluginBreakpoints: false (default: false)
dSelectedPluginBreakpointsPattern: (default: .*)
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe0xbf83e0
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessStartingUp
dSTARTED: 0 RUNNING: 0 READY: 0
dSTATUS CHANGE: FROM DebuggerProcessStartingUp TO DebuggerInferiorStopped
dSTARTED: 1 RUNNING: 0 READY: 1
sStopped.
dAdapter state from 0 to state 1.
dTRYING TO START ADAPTER
dAdapter state from 1 to state 2.
dADAPTER SUCCESSFULLY STARTED, PREPARING INFERIOR
dAdapter state from 2 to state 4.
<1-file-exec-and-symbols "C:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe"
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later
><http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorStopped
sStopped.
sInferior prepared for startup.
sStart initial breakpoint setting.
>1^done
dAdapter state from 4 to state 5.
dINFERIOR PREPARED
<2show version
<3set print static-members off
<4set print inferior-events 1
<5set breakpoint pending on
<6set print elements 10000
<7-data-list-register-names
<8set overload-resolution off
<9handle SIGSEGV nopass stop print
<10set unwindonsignal on
<11set width 0
<12set height 0
sCurrent state: 5
<13-break-insert "\"MainWindow.cpp\":15"
>&"show version\n"
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later
><http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
>2^done
dVERSION: 2^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\".\n"}
d
dGDB VERSION: 60800, BUILD: 0
>&"set print static-members off\n"
>3^done
>&"set print inferior-events 1\n"
>&"Undefined set print command: \"inferior-events 1\". Try \"help set
>print\".\n"
>4^error,msg="Undefined set print command: \"inferior-events 1\". Try \"help
>set print\"."
>&"set breakpoint pending on\n"
>5^done
>&"set print elements 10000\n"
>6^done
>7^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"]
>&"set overload-resolution off\n"
>8^done
>&"handle SIGSEGV nopass stop print\n"
>~"Signal Stop\tPrint\tPass to program\tDescription\n"
>~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
>9^done
>&"set unwindonsignal on\n"
>10^done
>&"set width 0\n"
>11^done
>&"set height 0\n"
>12^done
>13^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",addr="0x004018b6",times="0"}
<14info break 1
sInitial breakpoint setting finished.
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorRunningRequested
dSTARTED: 1 RUNNING: 0 READY: 0
sRunning requested...
>&"info break 1\n"
>~"Num Type Disp Enb Address What\n"
>~"1 breakpoint keep y <MULTIPLE> 0x004018b6\n"
>~"1.1 y 0x004018b6 in
>MainWindow::MainWindow(QWidget*) at MainWindow.cpp:15\n"
>~"1.2 y 0x00401c68 in
>MainWindow::MainWindow(QWidget*) at MainWindow.cpp:15\n"
>14^done
dAdapter state from 5 to state 7.
<15-exec-run
dSTATUS CHANGE: FROM DebuggerInferiorRunningRequested TO DebuggerInferiorRunning
dSTARTED: 1 RUNNING: 1 READY: 0
sRunning...
d02004
s[New thread 2004.0x13d8]
s
>15^running
dAdapter state from 7 to state 8.
dINFERIOR STARTED
>~"[New thread 2004.0x13d8]\n"
dFOUND PID 2004
dDumper injection loading triggered
(C:/Qt/2009.03/qt/qtc-debugging-helper/debug/gdbmacros.dll)...
s[New thread 2004.0xccc]
s
>~"[New thread 2004.0xccc]\n"
sStopped at breakpoint.
>~"Current language: auto; currently c++\n"
>15*stopped,reason="breakpoint-hit",bkptno="1",thread-id="1",frame={addr="0x00401c68",func="MainWindow::MainWindow",args=[{name="this",value="0x22fd60"},{name="parent",value="0x0"}],file="MainWindow.cpp",fullname="c:/Documents
> and Settings/Robert
>Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp",line="15"}
<16info shared
<17-break-list
<18p 0
dSTATUS CHANGE: FROM DebuggerInferiorRunning TO DebuggerInferiorStopped
dSTARTED: 1 RUNNING: 0 READY: 1
sStopped.
>&"info shared\n"
>~"From To Syms Read Shared Object Library\n"
>~"0x7c901000 0x7c9b1eb8 Yes C:\\WINDOWS\\system32\\ntdll.dll\n"
>~"0x7c801000 0x7c8f5c84 Yes C:\\WINDOWS\\system32\\kernel32.dll\n"
>~"0x6fbc1000 0x6fbc71c0 Yes
>C:\\Qt\\2009.03\\mingw\\bin\\mingwm10.dll\n"
>~"0x77c11000 0x77c67d74 Yes C:\\WINDOWS\\system32\\msvcrt.dll\n"
>~"0x6a101000 0x6a3b1c98 Yes C:\\Qt\\2009.03\\qt\\bin\\QtCored4.dll\n"
>~"0x77dd1000 0x77e6aaf8 Yes C:\\WINDOWS\\system32\\advapi32.dll\n"
>~"0x77e71000 0x77f01488 Yes C:\\WINDOWS\\system32\\rpcrt4.dll\n"
>~"0x77fe1000 0x77ff0884 Yes C:\\WINDOWS\\system32\\secur32.dll\n"
>~"0x774e1000 0x7761c0d4 Yes C:\\WINDOWS\\system32\\ole32.dll\n"
>~"0x77f11000 0x77f58870 Yes C:\\WINDOWS\\system32\\gdi32.dll\n"
>~"0x7e411000 0x7e4a0de4 Yes C:\\WINDOWS\\system32\\user32.dll\n"
>~"0x71ab1000 0x71ac6dc8 Yes C:\\WINDOWS\\system32\\ws2_32.dll\n"
>~"0x71aa1000 0x71aa7320 Yes C:\\WINDOWS\\system32\\ws2help.dll\n"
>~"0x00891000 0x01366788 Yes C:\\Qt\\2009.03\\qt\\bin\\QtGuid4.dll\n"
>~"0x763b1000 0x763f84dc Yes C:\\WINDOWS\\system32\\comdlg32.dll\n"
>~"0x5d091000 0x5d129080 Yes C:\\WINDOWS\\system32\\comctl32.dll\n"
>~"0x7c9c1000 0x7d1d64c0 Yes C:\\WINDOWS\\system32\\shell32.dll\n"
>~"0x77f61000 0x77fd59d4 Yes C:\\WINDOWS\\system32\\shlwapi.dll\n"
>~"0x76391000 0x763acc6c Yes C:\\WINDOWS\\system32\\imm32.dll\n"
>~"0x77121000 0x771aa414 Yes C:\\WINDOWS\\system32\\oleaut32.dll\n"
>~"0x76b41000 0x76b6c8b4 Yes C:\\WINDOWS\\system32\\winmm.dll\n"
>~"0x73001000 0x7302551c Yes C:\\WINDOWS\\system32\\winspool.drv\n"
>~"0x64001000 0x64051a88 Yes C:\\Qt\\2009.03\\qt\\bin\\QtSqld4.dll\n"
>~"0x629c1000 0x629c828e Yes C:\\WINDOWS\\system32\\lpk.dll\n"
>~"0x74d91000 0x74dfa696 Yes C:\\WINDOWS\\system32\\usp10.dll\n"
>~"0x6fa01000 0x6fa34724 Yes
>C:\\PROGRA~1\\Sophos\\SOPHOS~1\\sophos_detoured.dll\n"
>~"0x76bf1000 0x76bfa3c4 Yes C:\\WINDOWS\\system32\\psapi.dll\n"
>~"0x773d1000 0x774d2e28 Yes
>C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll\n"
>~"0x6bd01000 0x6bd083ec Yes C:\\WINDOWS\\system32\\avaudio32.dll\n"
>~"0x62481000 0x625a25e4 Yes
>C:\\Qt\\2009.03\\qt\\qtc-debugging-helper\\debug\\gdbmacros.dll\n"
>~"0x5ad71000 0x5ada7990 Yes C:\\WINDOWS\\system32\\uxtheme.dll\n"
>~"0x74721000 0x7476bc4c Yes C:\\WINDOWS\\system32\\msctf.dll\n"
>~"0x10001000 0x100051a6 Yes C:\\Program Files\\Utimaco\\SafeGuard
>Easy\\SgMsgBhk.dll\n"
>~"0x755c1000 0x755edba0 Yes C:\\WINDOWS\\system32\\msctfime.ime\n"
>16^done
>17^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="1",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",addr="0x004018b6",times="1"}]}
>&"p 0\n"
>~"$1 = 0"
>~"\n"
>18^done
<19call (void*)qDumpObjectData440(1,19+1,0,0,0,0,0,0)
<20p (char*)&qDumpOutBuffer
<21-stack-list-arguments 2 0 0
<22-stack-list-locals 2
<23-stack-list-frames 0 20
<24-thread-list-ids
>&"call (void*)qDumpObjectData440(1,19+1,0,0,0,0,0,0)\n"
sDumper version 1.3, 54 custom dumpers found.
sFinished retrieving data.
>~"$2 = (void *) 0x624a5740\n"
>19^done
>&"p (char*)&qDumpOutBuffer\n"
>~"$3 = 0x624a5740
>\"tdumpers=[\\\"QAbstractItem\\\",\\\"QAbstractItemModel\\\",\\\"QByteArray\\\",\\\"QChar\\\",\\\"QDateTime\\\",\\\"QDir\\\",\\\"QFile\\\",\\\"QFileInfo\\\",\\\"QHash\\\",\\\"QHashNode\\\",\\\"QLinkedList\\\",\\\"QList\\\",\\\"QLocale\\\",\\\"QMap\\\",\\\"QMapNode\\\",\\\"QModelIndex\\\",\\\"QObject\\\",\\\"QObjectMethodList\\\",\\\"QObjectProperty\\\",\\\"QObjectPropertyList\\\",\\\"QObjectSignal\\\",\\\"QObjectSignalList\\\",\\\"QObjectSlot\\\",\\\"QObjectSlotList\\\",\\\"QObjectChildList\\\",\\\"QPoint\\\",\\\"QPointF\\\",\\\"QRect\\\",\\\"QRectF\\\",\\\"QSet\\\",\\\"QStack\\\",\\\"QString\\\",\\\"QStringList\\\",\\\"QTextCodec\\\",\\\"QVariant\\\",\\\"QVector\\\",\\\"QMultiMap\\\",\\\"QSharedPointer\\\",\\\"QWeakPointer\\\",\\\"QWidget\\\",\\\"basic_string\\\",\\\"list\\\",\\\"map\\\",\\\"set\\\",\\\"vector\\\",\\\"string\\\",\\\"wstring\\\",\\\"std::basic_string\\\",\\\"std::list\\\",\\\"std::map\\\",\\\"std::set\\\",\\\"std::string\\\",\\\"std::vector\\\",\\\"std::wstring\\\",],qtversion=[\\\"4\\\",\\\"5\\\",\\\"2\\\"],namespace=\\\"\\\",dumperversion=\\\"1.3\\\",sizes=[[\\\"1\\\",\\\"std::char_traits<unsigned
>
>short>\\\",\\\"std::char_traits<char>\\\",\\\"std::allocator\\\"],[\\\"4\\\",\\\"QPointer\\\",\\\"QSharedDataPointer\\\",\\\"std::wstring\\\",\\\"std::string\\\",\\\"wstring\\\",\\\"string\\\",\\\"QQueue<int>\\\",\\\"QVector<int>\\\",\\\"QLinkedList<int>\\\",\\\"QList<int>\\\",\\\"QStringList\\\",\\\"QString\\\",\\\"char*\\\",\\\"int\\\"],[\\\"8\\\",\\\"QWeakPointer\\\",\\\"QSharedPointer\\\",\\\"QObject\\\"],[\\\"16\\\",\\\"QMapNode<QString,QString>\\\",\\\"QMapNode<QString,int>\\\",\\\"QMapNode<int,QString>\\\",\\\"QMapNode<int,int>\\\"],[\\\"20\\\",\\\"QWidget\\\"],[\\\"32\\\",\\\"QMapNode<QString,QVariant>\\\",\\\"QMapNode<int,QVariant>\\\"]]\""
>~"\n"
>20^done
>21^done,stack-args=[frame={level="0",args=[{name="this",type="class MainWindow
>* const",value="0x22fd60"},{name="parent",type="class QWidget
>*",value="0x0"}]}]
>22^done,locals=[]
>23^done,stack=[frame={level="0",addr="0x00401c68",func="MainWindow::MainWindow",file="MainWindow.cpp",fullname="c:/Documents
> and Settings/Robert
>Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp",line="15"},frame={level="1",addr="0x004015e4",func="qMain",file="main.cpp",fullname="c:/Documents
> and Settings/Robert
>Caldecott/Desktop/UpgradeManager/UpgradeManager/main.cpp",line="17"},frame={level="2",addr="0x00404d89",func="WinMain",file="qtmain_win.cpp",line="136"},frame={level="3",addr="0x00404874",func="main"}]
>24^done,thread-ids={thread-id="1"},number-of-threads="1"
<<Rebuild Watchmodel 1>dSTATUS CHANGE: FROM <unknown> TO DebuggerProcessNotReady
dSTARTED: 0 RUNNING: 0 READY: 0
d0xbf83e00x34e98b80x34e9be02
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
sStarting debugger for tool chain 'MinGW'...
dDebugger settings:
dUseAlternatingRowColours: false (default: false)
dUseMessageBoxForSignals: true (default: true)
dAutoQuit: false (default: false)
dLogTimeStamps: false (default: false)
dUseDebuggingHelper: true (default: true)
dUseCustomDebuggingHelperLocation: false (default: false)
dCustomDebuggingHelperLocation: (default: )
dDebugDebuggingHelpers: false (default: false)
dLocation: C:\Qt\2009.03\mingw\bin\gdb.exe (default: gdb)
dEnvironment: (default: )
dScriptFile: (default: )
dMaximalStackDepth: 20 (default: 20)
dUseToolTips: true (default: false)
dUseToolTipsInLocalsView: true (default: false)
dListSourceFiles: false (default: false)
dSkipKnownFrames: true (default: false)
dEnableReverseDebugging: false (default: false)
dAllPluginBreakpoints: true (default: true)
dSelectedPluginBreakpoints: false (default: false)
dNoPluginBreakpoints: false (default: false)
dSelectedPluginBreakpointsPattern: (default: .*)
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe0xbf83e0
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessStartingUp
dSTARTED: 0 RUNNING: 0 READY: 0
dSTATUS CHANGE: FROM DebuggerProcessStartingUp TO DebuggerInferiorStopped
dSTARTED: 1 RUNNING: 0 READY: 1
sStopped.
dAdapter state from 0 to state 1.
dTRYING TO START ADAPTER
dAdapter state from 1 to state 2.
dADAPTER SUCCESSFULLY STARTED, PREPARING INFERIOR
dAdapter state from 2 to state 4.
<1-file-exec-and-symbols "C:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe"
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later
><http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorStopped
sStopped.
sInferior prepared for startup.
sStart initial breakpoint setting.
>1^done
dAdapter state from 4 to state 5.
dINFERIOR PREPARED
<2show version
<3set print static-members off
<4set print inferior-events 1
<5set breakpoint pending on
<6set print elements 10000
<7-data-list-register-names
<8set overload-resolution off
<9handle SIGSEGV nopass stop print
<10set unwindonsignal on
<11set width 0
<12set height 0
sCurrent state: 5
<13-break-insert "\"MainWindow.cpp\":15"
>&"show version\n"
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later
><http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
>2^done
dVERSION: 2^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\".\n"}
d
dGDB VERSION: 60800, BUILD: 0
>&"set print static-members off\n"
>3^done
>&"set print inferior-events 1\n"
>&"Undefined set print command: \"inferior-events 1\". Try \"help set
>print\".\n"
>4^error,msg="Undefined set print command: \"inferior-events 1\". Try \"help
>set print\"."
>&"set breakpoint pending on\n"
>5^done
>&"set print elements 10000\n"
>6^done
>7^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"]
>&"set overload-resolution off\n"
>8^done
>&"handle SIGSEGV nopass stop print\n"
>~"Signal Stop\tPrint\tPass to program\tDescription\n"
>~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
>9^done
>&"set unwindonsignal on\n"
>10^done
>&"set width 0\n"
>11^done
>&"set height 0\n"
>12^done
>13^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",addr="0x004018b6",times="0"}
<14info break 1
sInitial breakpoint setting finished.
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorRunningRequested
dSTARTED: 1 RUNNING: 0 READY: 0
sRunning requested...
>&"info break 1\n"
>~"Num Type Disp Enb Address What\n"
>~"1 breakpoint keep y <MULTIPLE> 0x004018b6\n"
>~"1.1 y 0x004018b6 in
>MainWindow::MainWindow(QWidget*) at MainWindow.cpp:15\n"
>~"1.2 y 0x00401c68 in
>MainWindow::MainWindow(QWidget*) at MainWindow.cpp:15\n"
>14^done
dAdapter state from 5 to state 7.
<15-exec-run
dSTATUS CHANGE: FROM DebuggerInferiorRunningRequested TO DebuggerInferiorRunning
dSTARTED: 1 RUNNING: 1 READY: 0
sRunning...
d02004
s[New thread 2004.0x13d8]
s
>15^running
dAdapter state from 7 to state 8.
dINFERIOR STARTED
>~"[New thread 2004.0x13d8]\n"
dFOUND PID 2004
dDumper injection loading triggered
(C:/Qt/2009.03/qt/qtc-debugging-helper/debug/gdbmacros.dll)...
s[New thread 2004.0xccc]
s
>~"[New thread 2004.0xccc]\n"
sStopped at breakpoint.
>~"Current language: auto; currently c++\n"
>15*stopped,reason="breakpoint-hit",bkptno="1",thread-id="1",frame={addr="0x00401c68",func="MainWindow::MainWindow",args=[{name="this",value="0x22fd60"},{name="parent",value="0x0"}],file="MainWindow.cpp",fullname="c:/Documents
> and Settings/Robert
>Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp",line="15"}
<16info shared
<17-break-list
<18p 0
dSTATUS CHANGE: FROM DebuggerInferiorRunning TO DebuggerInferiorStopped
dSTARTED: 1 RUNNING: 0 READY: 1
sStopped.
>&"info shared\n"
>~"From To Syms Read Shared Object Library\n"
>~"0x7c901000 0x7c9b1eb8 Yes C:\\WINDOWS\\system32\\ntdll.dll\n"
>~"0x7c801000 0x7c8f5c84 Yes C:\\WINDOWS\\system32\\kernel32.dll\n"
>~"0x6fbc1000 0x6fbc71c0 Yes
>C:\\Qt\\2009.03\\mingw\\bin\\mingwm10.dll\n"
>~"0x77c11000 0x77c67d74 Yes C:\\WINDOWS\\system32\\msvcrt.dll\n"
>~"0x6a101000 0x6a3b1c98 Yes C:\\Qt\\2009.03\\qt\\bin\\QtCored4.dll\n"
>~"0x77dd1000 0x77e6aaf8 Yes C:\\WINDOWS\\system32\\advapi32.dll\n"
>~"0x77e71000 0x77f01488 Yes C:\\WINDOWS\\system32\\rpcrt4.dll\n"
>~"0x77fe1000 0x77ff0884 Yes C:\\WINDOWS\\system32\\secur32.dll\n"
>~"0x774e1000 0x7761c0d4 Yes C:\\WINDOWS\\system32\\ole32.dll\n"
>~"0x77f11000 0x77f58870 Yes C:\\WINDOWS\\system32\\gdi32.dll\n"
>~"0x7e411000 0x7e4a0de4 Yes C:\\WINDOWS\\system32\\user32.dll\n"
>~"0x71ab1000 0x71ac6dc8 Yes C:\\WINDOWS\\system32\\ws2_32.dll\n"
>~"0x71aa1000 0x71aa7320 Yes C:\\WINDOWS\\system32\\ws2help.dll\n"
>~"0x00891000 0x01366788 Yes C:\\Qt\\2009.03\\qt\\bin\\QtGuid4.dll\n"
>~"0x763b1000 0x763f84dc Yes C:\\WINDOWS\\system32\\comdlg32.dll\n"
>~"0x5d091000 0x5d129080 Yes C:\\WINDOWS\\system32\\comctl32.dll\n"
>~"0x7c9c1000 0x7d1d64c0 Yes C:\\WINDOWS\\system32\\shell32.dll\n"
>~"0x77f61000 0x77fd59d4 Yes C:\\WINDOWS\\system32\\shlwapi.dll\n"
>~"0x76391000 0x763acc6c Yes C:\\WINDOWS\\system32\\imm32.dll\n"
>~"0x77121000 0x771aa414 Yes C:\\WINDOWS\\system32\\oleaut32.dll\n"
>~"0x76b41000 0x76b6c8b4 Yes C:\\WINDOWS\\system32\\winmm.dll\n"
>~"0x73001000 0x7302551c Yes C:\\WINDOWS\\system32\\winspool.drv\n"
>~"0x64001000 0x64051a88 Yes C:\\Qt\\2009.03\\qt\\bin\\QtSqld4.dll\n"
>~"0x629c1000 0x629c828e Yes C:\\WINDOWS\\system32\\lpk.dll\n"
>~"0x74d91000 0x74dfa696 Yes C:\\WINDOWS\\system32\\usp10.dll\n"
>~"0x6fa01000 0x6fa34724 Yes
>C:\\PROGRA~1\\Sophos\\SOPHOS~1\\sophos_detoured.dll\n"
>~"0x76bf1000 0x76bfa3c4 Yes C:\\WINDOWS\\system32\\psapi.dll\n"
>~"0x773d1000 0x774d2e28 Yes
>C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll\n"
>~"0x6bd01000 0x6bd083ec Yes C:\\WINDOWS\\system32\\avaudio32.dll\n"
>~"0x62481000 0x625a25e4 Yes
>C:\\Qt\\2009.03\\qt\\qtc-debugging-helper\\debug\\gdbmacros.dll\n"
>~"0x5ad71000 0x5ada7990 Yes C:\\WINDOWS\\system32\\uxtheme.dll\n"
>~"0x74721000 0x7476bc4c Yes C:\\WINDOWS\\system32\\msctf.dll\n"
>~"0x10001000 0x100051a6 Yes C:\\Program Files\\Utimaco\\SafeGuard
>Easy\\SgMsgBhk.dll\n"
>~"0x755c1000 0x755edba0 Yes C:\\WINDOWS\\system32\\msctfime.ime\n"
>16^done
>17^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="1",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",addr="0x004018b6",times="1"}]}
>&"p 0\n"
>~"$1 = 0"
>~"\n"
>18^done
<19call (void*)qDumpObjectData440(1,19+1,0,0,0,0,0,0)
<20p (char*)&qDumpOutBuffer
<21-stack-list-arguments 2 0 0
<22-stack-list-locals 2
<23-stack-list-frames 0 20
<24-thread-list-ids
>&"call (void*)qDumpObjectData440(1,19+1,0,0,0,0,0,0)\n"
sDumper version 1.3, 54 custom dumpers found.
sFinished retrieving data.
>~"$2 = (void *) 0x624a5740\n"
>19^done
>&"p (char*)&qDumpOutBuffer\n"
>~"$3 = 0x624a5740
>\"tdumpers=[\\\"QAbstractItem\\\",\\\"QAbstractItemModel\\\",\\\"QByteArray\\\",\\\"QChar\\\",\\\"QDateTime\\\",\\\"QDir\\\",\\\"QFile\\\",\\\"QFileInfo\\\",\\\"QHash\\\",\\\"QHashNode\\\",\\\"QLinkedList\\\",\\\"QList\\\",\\\"QLocale\\\",\\\"QMap\\\",\\\"QMapNode\\\",\\\"QModelIndex\\\",\\\"QObject\\\",\\\"QObjectMethodList\\\",\\\"QObjectProperty\\\",\\\"QObjectPropertyList\\\",\\\"QObjectSignal\\\",\\\"QObjectSignalList\\\",\\\"QObjectSlot\\\",\\\"QObjectSlotList\\\",\\\"QObjectChildList\\\",\\\"QPoint\\\",\\\"QPointF\\\",\\\"QRect\\\",\\\"QRectF\\\",\\\"QSet\\\",\\\"QStack\\\",\\\"QString\\\",\\\"QStringList\\\",\\\"QTextCodec\\\",\\\"QVariant\\\",\\\"QVector\\\",\\\"QMultiMap\\\",\\\"QSharedPointer\\\",\\\"QWeakPointer\\\",\\\"QWidget\\\",\\\"basic_string\\\",\\\"list\\\",\\\"map\\\",\\\"set\\\",\\\"vector\\\",\\\"string\\\",\\\"wstring\\\",\\\"std::basic_string\\\",\\\"std::list\\\",\\\"std::map\\\",\\\"std::set\\\",\\\"std::string\\\",\\\"std::vector\\\",\\\"std::wstring\\\",],qtversion=[\\\"4\\\",\\\"5\\\",\\\"2\\\"],namespace=\\\"\\\",dumperversion=\\\"1.3\\\",sizes=[[\\\"1\\\",\\\"std::char_traits<unsigned
>
>short>\\\",\\\"std::char_traits<char>\\\",\\\"std::allocator\\\"],[\\\"4\\\",\\\"QPointer\\\",\\\"QSharedDataPointer\\\",\\\"std::wstring\\\",\\\"std::string\\\",\\\"wstring\\\",\\\"string\\\",\\\"QQueue<int>\\\",\\\"QVector<int>\\\",\\\"QLinkedList<int>\\\",\\\"QList<int>\\\",\\\"QStringList\\\",\\\"QString\\\",\\\"char*\\\",\\\"int\\\"],[\\\"8\\\",\\\"QWeakPointer\\\",\\\"QSharedPointer\\\",\\\"QObject\\\"],[\\\"16\\\",\\\"QMapNode<QString,QString>\\\",\\\"QMapNode<QString,int>\\\",\\\"QMapNode<int,QString>\\\",\\\"QMapNode<int,int>\\\"],[\\\"20\\\",\\\"QWidget\\\"],[\\\"32\\\",\\\"QMapNode<QString,QVariant>\\\",\\\"QMapNode<int,QVariant>\\\"]]\""
>~"\n"
>20^done
>21^done,stack-args=[frame={level="0",args=[{name="this",type="class MainWindow
>* const",value="0x22fd60"},{name="parent",type="class QWidget
>*",value="0x0"}]}]
>22^done,locals=[]
>23^done,stack=[frame={level="0",addr="0x00401c68",func="MainWindow::MainWindow",file="MainWindow.cpp",fullname="c:/Documents
> and Settings/Robert
>Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp",line="15"},frame={level="1",addr="0x004015e4",func="qMain",file="main.cpp",fullname="c:/Documents
> and Settings/Robert
>Caldecott/Desktop/UpgradeManager/UpgradeManager/main.cpp",line="17"},frame={level="2",addr="0x00404d89",func="WinMain",file="qtmain_win.cpp",line="136"},frame={level="3",addr="0x00404874",func="main"}]
>24^done,thread-ids={thread-id="1"},number-of-threads="1"
<<Rebuild Watchmodel 1>
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorRunningRequested
dSTARTED: 1 RUNNING: 0 READY: 0
sRunning requested...
<--- token barrier ---
<25-exec-continue
dSTATUS CHANGE: FROM DebuggerInferiorRunningRequested TO DebuggerInferiorRunning
dSTARTED: 1 RUNNING: 1 READY: 0
sRunning...
>25^running
sProgram exited normally.
>25*stopped,reason="exited-normally"
dAdapter state from 8 to state 10.
dAdapter state from 10 to state 11.
dINITIATE GDBENGINE SHUTDOWN
dAdapter state from 11 to state 13.
<26-gdb-exit
dSTATUS CHANGE: FROM DebuggerInferiorRunning TO DebuggerProcessNotReady
dSTARTED: 0 RUNNING: 0 READY: 0
>26^exit
dGDB PROESS FINISHED
dAdapter state from 13 to state 0.
dADAPTER SUCCESSFULLY SHUT DOWN
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp15
dDELETING BP IN C:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp15
sCurrent state: 0
dNO GDB PROCESS RUNNING, CMD IGNORED: -break-insert "\"MainWindow.cpp\":15"
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp15
dDELETING BP IN C:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp15
sCurrent state: 0
dNO GDB PROCESS RUNNING, CMD IGNORED: -break-insert "\"MainWindow.cpp\":15"
sStarting debugger for tool chain 'MinGW'...
dDebugger settings:
dUseAlternatingRowColours: false (default: false)
dUseMessageBoxForSignals: true (default: true)
dAutoQuit: false (default: false)
dLogTimeStamps: false (default: false)
dUseDebuggingHelper: true (default: true)
dUseCustomDebuggingHelperLocation: false (default: false)
dCustomDebuggingHelperLocation: (default: )
dDebugDebuggingHelpers: false (default: false)
dLocation: C:\Qt\2009.03\mingw\bin\gdb.exe (default: gdb)
dEnvironment: (default: )
dScriptFile: (default: )
dMaximalStackDepth: 20 (default: 20)
dUseToolTips: true (default: false)
dUseToolTipsInLocalsView: true (default: false)
dListSourceFiles: false (default: false)
dSkipKnownFrames: true (default: false)
dEnableReverseDebugging: false (default: false)
dAllPluginBreakpoints: true (default: true)
dSelectedPluginBreakpoints: false (default: false)
dNoPluginBreakpoints: false (default: false)
dSelectedPluginBreakpointsPattern: (default: .*)
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe0xbf83e0
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessStartingUp
dSTARTED: 0 RUNNING: 0 READY: 0
dSTATUS CHANGE: FROM DebuggerProcessStartingUp TO DebuggerInferiorStopped
dSTARTED: 1 RUNNING: 0 READY: 1
sStopped.
dAdapter state from 0 to state 1.
dTRYING TO START ADAPTER
dAdapter state from 1 to state 2.
dADAPTER SUCCESSFULLY STARTED, PREPARING INFERIOR
dAdapter state from 2 to state 4.
<27-file-exec-and-symbols "C:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe"
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorStopped
sStopped.
sInferior prepared for startup.
sStart initial breakpoint setting.
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later
><http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
>27^done
dAdapter state from 4 to state 5.
dINFERIOR PREPARED
<28show version
<29set print static-members off
<30set print inferior-events 1
<31set breakpoint pending on
<32set print elements 10000
<33-data-list-register-names
<34set overload-resolution off
<35handle SIGSEGV nopass stop print
<36set unwindonsignal on
<37set width 0
<38set height 0
sInitial breakpoint setting finished.
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorRunningRequested
dSTARTED: 1 RUNNING: 0 READY: 0
sRunning requested...
>&"show version\n"
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later
><http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
>28^done
dVERSION: 28^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\".\n"}
d
dGDB VERSION: 60800, BUILD: 0
>&"set print static-members off\n"
>29^done
>&"set print inferior-events 1\n"
>&"Undefined set print command: \"inferior-events 1\". Try \"help set
>print\".\n"
>30^error,msg="Undefined set print command: \"inferior-events 1\". Try \"help
>set print\"."
>&"set breakpoint pending on\n"
>31^done
>&"set print elements 10000\n"
>32^done
>33^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"]
>&"set overload-resolution off\n"
>34^done
>&"handle SIGSEGV nopass stop print\n"
>~"Signal Stop\tPrint\tPass to program\tDescription\n"
>~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
>35^done
>&"set unwindonsignal on\n"
>36^done
>&"set width 0\n"
>37^done
>&"set height 0\n"
>38^done
dAdapter state from 5 to state 7.
<39-exec-run
dSTATUS CHANGE: FROM DebuggerInferiorRunningRequested TO DebuggerInferiorRunning
dSTARTED: 1 RUNNING: 1 READY: 0
sRunning...
d05100
s[New thread 5100.0x15f8]
s
>39^running
dAdapter state from 7 to state 8.
dINFERIOR STARTED
>~"[New thread 5100.0x15f8]\n"
dFOUND PID 5100
dDumper injection loading triggered
(C:/Qt/2009.03/qt/qtc-debugging-helper/debug/gdbmacros.dll)...
s[New thread 5100.0xbb4]
s
>~"[New thread 5100.0xbb4]\n"
sProgram exited normally.
>39*stopped,reason="exited-normally"
dAdapter state from 8 to state 10.
dAdapter state from 10 to state 11.
dINITIATE GDBENGINE SHUTDOWN
dAdapter state from 11 to state 13.
<40-gdb-exit
dSTATUS CHANGE: FROM DebuggerInferiorRunning TO DebuggerProcessNotReady
dSTARTED: 0 RUNNING: 0 READY: 0
>40^exit
dGDB PROESS FINISHED
dAdapter state from 13 to state 0.
dADAPTER SUCCESSFULLY SHUT DOWN_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator