The view is split into two lists:
Left:
1-file-exec-and-symbols "/Users/ks/TestQtGui/TestQt/TestQt"
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
13-gdb-set inferior-auto-start-cfm off
14-gdb-set sharedLibrary load-rules dyld ".*libSystem.*" all dyld
".*libauto.*" all dyld ".*AppKit.*" all dyld
".*PBGDBIntrospectionSupport.*" all dyld ".*Foundation.*" all dyld
".*CFDataFormatters.*" all dyld ".*libobjc.*" all dyld
".*CarbonDataFormatters.*" all
15-break-insert -l -1 "\"main.cpp\":12"
Right:
STATUS CHANGE: FROM <unknown> TO DebuggerProcessNotReady
dSTARTED: 0 RUNNING: 0 READY: 0
d0x12d8c500x00x12e5f101
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
d/Users/ks/TestQtGui/TestQt/main.cpp12
sStarting debugger for tool chain 'GCC'...
dDebugger settings:
dUseAlternatingRowColours: true (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: gdb (default: gdb)
dEnvironment: (default: )
dScriptFile: (default: )
dMaximalStackDepth: 20 (default: 20)
dUseToolTips: false (default: false)
dUseToolTipsInLocalsView: false (default: false)
dListSourceFiles: true (default: false)
dSkipKnownFrames: true (default: false)
dEnableReverseDebugging: false (default: false)
dAllPluginBreakpoints: true (default: true)
dSelectedPluginBreakpoints: false (default: false)
dNoPluginBreakpoints: false (default: false)
dSelectedPluginBreakpointsPattern: .* (default: .*)
d/Users/ks/TestQtGui/TestQt/TestQt0x12d8c50
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 "/Users/ks/TestQtGui/TestQt/TestQt"
>~"GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3
01:19:56 UTC 2009)\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"
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorStopped
sStopped.
sInferior prepared for startup.
sStart initial breakpoint setting.
>1^done,time=
{wallclock
=
"0.12840
",user
=
"0.03728
",system="0.03308",start="1254507369.131703",end="1254507369.260098"}
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
<13-gdb-set inferior-auto-start-cfm off
<14-gdb-set sharedLibrary load-rules dyld ".*libSystem.*" all dyld
".*libauto.*" all dyld ".*AppKit.*" all dyld
".*PBGDBIntrospectionSupport.*" all dyld ".*Foundation.*" all dyld
".*CFDataFormatters.*" all dyld ".*libobjc.*" all dyld
".*CarbonDataFormatters.*" all
sCurrent state: 5
<15-break-insert -l -1 "\"main.cpp\":12"
>&"show version\n"
>~"GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3
01:19:56 UTC 2009)\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"
>2^done
dVERSION: 2^done,{logstreamoutput="show version
\n",consolestreamoutput="GNU gdb 6.3.50-20050815 (Apple version
gdb-1344) (Fri Jul 3 01:19:56 UTC 2009)\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
dGDB VERSION: 60350, BUILD: 20050815
>&"set print static-members off\n"
>3^done
>&"set print inferior-events 1\n"
>&"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"},time=
{wallclock
=
"0.00021
",user
=
"0.00017
",system="0.00003",start="1254507369.268274",end="1254507369.268484"}
>&"set overload-resolution off\n"
>8^done
>&"handle SIGSEGV nopass stop print\n"
>9^done
>&"set unwindonsignal on\n"
>10^done
>&"set width 0\n"
>11^done
>&"set height 0\n"
>12^done
>13^done,time=
{wallclock
=
"0.00001
",user
=
"0.00001
",system="0.00000",start="1254507369.268993",end="1254507369.269004"}
>14^done,time=
{wallclock
=
"0.00002
",user
=
"0.00002
",system="0.00000",start="1254507369.269397",end="1254507369.269416"}
>15^done,bkpt=
{number
=
"1
",type
=
"breakpoint
",disp
=
"keep
",enabled
="y",addr="0x00002d99",func="main",file="main.cpp",line="12",shlib="/
Users/ks/TestQtGui/TestQt/TestQt",times="0"},time=
{wallclock
=
"0.00845
",user
=
"0.00408
",system="0.00211",start="1254507369.269518",end="1254507369.277965"}
On 2 Oct 2009, at 07:14, André Pönitz wrote:
> On Friday 02 October 2009 00:03:44 ext Danny Price wrote:
>> This is very odd - the debugger in the latest snapshot (25th) does
>> not
>> appear to work on Snow Leopard (it DOES work on Leopard). In a simple
>> project, the debugger starts but then stops with the message 'Start
>> initial breakpoint setting' above the watchers window.
>>
>> If I hit the run button, I get a dialog message "Starting executable
>> failed. The program is not being run". If I try to set a breakpoint,
>> the message above the watchers window changes to "Changing breakpoint
>> state requires either a fully running or fully stopped application."
>>
>> I've tried rebuilding and disabling the debugger helper.
>>
>> The debugger in 1.2.1 works fine!
>>
>> I know that Snow Leopard is not supported by Qt (!) but is there any
>> work around to this problem?
>
> For debugger related problems please send the output of
> the pane on the right hand side of the view you get from
> Debug->Views->Debugger.
>
> Andre'
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator