User forums > Help
debugger_gdbmi will not run CB
Pecan:
When I attempt to debug CB itself using debugger_gdbmi, it appears to exit.
Log with "catch c++ exections" UNchecked.
--- Code: ---Active debugger config: GDB/MI:Default
start debugger
Building to ensure sources are up-to-date
Selecting target:
src
Adding file: C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
[debug]PATH=.;C:\Usr\Proj\cbBeta\trunk\src\base\tinyxml;C:\Usr\Proj\wxWidgets2810\lib\gcc_dll;C:\Usr\Proj\cbBeta\trunk\src\devel;C:\Usr\mingw431\bin;C:\Usr\mingw431;C:\Usr\Proj\ImageCraft\ImageCraft_IDB\trunk\src\output;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Usr\bin;C:\Program Files (x86)\CollabNet Subversion;C:\Program Files (x86)\TortoiseSVN\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Common Files\Adobe\AGL;c:\Usr\mingw431\bin
GDB path: c:\Usr\mingw431\bin\gdb.exe
DEBUGGEE path: C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
Command-line: c:\Usr\mingw431\bin\gdb.exe -fullname -quiet --interpreter=mi -args C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
Working dir : C:\Usr\Proj\cbBeta\trunk\src\devel
Starting debugger:
[debug]Executing command: c:\Usr\mingw431\bin\gdb.exe -fullname -quiet --interpreter=mi -args C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
done
[debug]Executor stopped
[debug]Debugger_GDB_MI::CommitBreakpoints
[debug]ActionsMap::Run -> starting action: 07A9D4A0 id: 1
[debug]cmd==>10000000000-interpreter-exec console "source c:\Usr\mingw431\bin\stl.gdb"
[debug]ActionsMap::Run -> starting action: 07A9C9A8 id: 2
[debug]cmd==>20000000000-interpreter-exec console "source c:\Usr\mingw431\bin\wx.gdb"
[debug]ActionsMap::Run -> starting action: 07A9C5B8 id: 3
[debug]cmd==>30000000000-enable-pretty-printing
[debug]output==>=thread-group-added,id="i1"
[debug]notification event recieved!
[debug]unparsable_output==>~"Reading symbols from C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\codeblocks.exe..."
[debug]unparsable_output==>~"done.\n"
[debug]unparsable_output==>(gdb)
[debug]unparsable_output==>&"c:Usrmingw431\binstl.gdb: No such file or directory.\n"
[debug]output==>10000000000^error,msg="c:Usrmingw431\binstl.gdb: No such file or directory."
[debug]unparsable_output==>(gdb)
[debug]unparsable_output==>&"c:Usrmingw431\binwx.gdb: No such file or directory.\n"
[debug]output==>20000000000^error,msg="c:Usrmingw431\binwx.gdb: No such file or directory."
[debug]unparsable_output==>(gdb)
[debug]output==>30000000000^done
[debug]unparsable_output==>(gdb)
[debug]ActionsMap::Run -> starting action: 05A55F68 id: 4
[debug]RunAction::OnStart -> -exec-run
[debug]cmd==>40000000000-exec-run
[debug]output==>=thread-group-started,id="i1",pid="4448"
[debug]output==>=thread-created,id="1",group-id="i1"
[debug]unparsable_output==>~"[New Thread 4448.0x13ec]\n"
[debug]output==>40000000000^running
[debug]output==>*running,thread-id="all"
[debug]unparsable_output==>(gdb)
[debug]notification event recieved!
Found child pid: 4448
[debug]notification event recieved!
[debug]RunAction success, the debugger is !stopped!
[debug]RunAction::Output - type: result
class: running
results:
[debug]Executor started
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\system32\\ntdll.dll",target-name="C:\\Windows\\system32\\ntdll.dll",host-name="C:\\Windows\\system32\\ntdll.dll",symbols-loaded="0",thread-group="i1"
[debug]RunAction::destructor
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\kernel32.dll",target-name="C:\\Windows\\syswow64\\kernel32.dll",host-name="C:\\Windows\\syswow64\\kernel32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\KernelBase.dll",target-name="C:\\Windows\\syswow64\\KernelBase.dll",host-name="C:\\Windows\\syswow64\\KernelBase.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\wxmsw28u_gcc_custom.dll",target-name="C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\wxmsw28u_gcc_custom.dll",host-name="C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\wxmsw28u_gcc_custom.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\advapi32.dll",target-name="C:\\Windows\\syswow64\\advapi32.dll",host-name="C:\\Windows\\syswow64\\advapi32.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\msvcrt.dll",target-name="C:\\Windows\\syswow64\\msvcrt.dll",host-name="C:\\Windows\\syswow64\\msvcrt.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\SysWOW64\\sechost.dll",target-name="C:\\Windows\\SysWOW64\\sechost.dll",host-name="C:\\Windows\\SysWOW64\\sechost.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\rpcrt4.dll",target-name="C:\\Windows\\syswow64\\rpcrt4.dll",host-name="C:\\Windows\\syswow64\\rpcrt4.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\sspicli.dll",target-name="C:\\Windows\\syswow64\\sspicli.dll",host-name="C:\\Windows\\syswow64\\sspicli.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\cryptbase.dll",target-name="C:\\Windows\\syswow64\\cryptbase.dll",host-name="C:\\Windows\\syswow64\\cryptbase.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\\comctl32.dll",target-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\\comctl32.dll",host-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\\comctl32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\gdi32.dll",target-name="C:\\Windows\\syswow64\\gdi32.dll",host-name="C:\\Windows\\syswow64\\gdi32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\user32.dll",target-name="C:\\Windows\\syswow64\\user32.dll",host-name="C:\\Windows\\syswow64\\user32.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\lpk.dll",target-name="C:\\Windows\\syswow64\\lpk.dll",host-name="C:\\Windows\\syswow64\\lpk.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\usp10.dll",target-name="C:\\Windows\\syswow64\\usp10.dll",host-name="C:\\Windows\\syswow64\\usp10.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\shlwapi.dll",target-name="C:\\Windows\\syswow64\\shlwapi.dll",host-name="C:\\Windows\\syswow64\\shlwapi.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\comdlg32.dll",target-name="C:\\Windows\\syswow64\\comdlg32.dll",host-name="C:\\Windows\\syswow64\\comdlg32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\shell32.dll",target-name="C:\\Windows\\syswow64\\shell32.dll",host-name="C:\\Windows\\syswow64\\shell32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\SysWOW64\\mingwm10.dll",target-name="C:\\Windows\\SysWOW64\\mingwm10.dll",host-name="C:\\Windows\\SysWOW64\\mingwm10.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\ole32.dll",target-name="C:\\Windows\\syswow64\\ole32.dll",host-name="C:\\Windows\\syswow64\\ole32.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\oleaut32.dll",target-name="C:\\Windows\\syswow64\\oleaut32.dll",host-name="C:\\Windows\\syswow64\\oleaut32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\SysWOW64\\winmm.dll",target-name="C:\\Windows\\SysWOW64\\winmm.dll",host-name="C:\\Windows\\SysWOW64\\winmm.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\SysWOW64\\wsock32.dll",target-name="C:\\Windows\\SysWOW64\\wsock32.dll",host-name="C:\\Windows\\SysWOW64\\wsock32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\ws2_32.dll",target-name="C:\\Windows\\syswow64\\ws2_32.dll",host-name="C:\\Windows\\syswow64\\ws2_32.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\nsi.dll",target-name="C:\\Windows\\syswow64\\nsi.dll",host-name="C:\\Windows\\syswow64\\nsi.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\SysWOW64\\shfolder.dll",target-name="C:\\Windows\\SysWOW64\\shfolder.dll",host-name="C:\\Windows\\SysWOW64\\shfolder.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\codeblocks.dll",target-name="C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\codeblocks.dll",host-name="C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\codeblocks.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\SysWOW64\\imm32.dll",target-name="C:\\Windows\\SysWOW64\\imm32.dll",host-name="C:\\Windows\\SysWOW64\\imm32.dll",symbols-loaded="0",thread-group="i1"
[debug]output==>=library-loaded,id="C:\\Windows\\syswow64\\msctf.dll",target-name="C:\\Windows\\syswow64\\msctf.dll",host-name="C:\\Windows\\syswow64\\msctf.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Windows\\SysWOW64\\uxtheme.dll",target-name="C:\\Windows\\SysWOW64\\uxtheme.dll",host-name="C:\\Windows\\SysWOW64\\uxtheme.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\User\\Programs\\VirtuaWin\\vwHook.dll",target-name="C:\\User\\Programs\\VirtuaWin\\vwHook.dll",host-name="C:\\User\\Programs\\VirtuaWin\\vwHook.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]output==>=library-loaded,id="C:\\Usr\\mingw431\\bin\\exchndl.dll",target-name="C:\\Usr\\mingw431\\bin\\exchndl.dll",host-name="C:\\Usr\\mingw431\\bin\\exchndl.dll",symbols-loaded="0",thread-group="i1"
[debug]notification event recieved!
[debug]output==>=thread-exited,id="1",group-id="i1"
[debug]output==>=thread-group-exited,id="i1"
[debug]output==>*stopped,reason="exited",exit-code="037777777777"
[debug]unparsable_output==>(gdb)
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]cmd==>00000000000-gdb-exit
[debug]GDBExecutor is not stopped, but command (-gdb-exit) was executed!
[debug]output==>00000000000^exit
debugger terminated!
--- End code ---
svn build rev 7904 (2012-03-19 21:48:48) gcc 4.3.1 Windows/unicode - 32 bit
Pecan:
I found a gdb 7.4. But the same thing happens. GDB just exits when attempting to debug CB.
svn build rev 7904 (2012-03-19 21:48:48) gcc 4.3.1 Windows/unicode - 32 bit
--- Code: ---Active debugger config: GDB/MI:Default
start debugger
Building to ensure sources are up-to-date
Selecting target:
src
Adding file: C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
[debug]PATH=.;C:\Usr\Proj\cbBeta\trunk\src\base\tinyxml;C:\Usr\Proj\wxWidgets2810\lib\gcc_dll;C:\Usr\Proj\cbBeta\trunk\src\devel;C:\Usr\mingw431\bin;C:\Usr\mingw431;C:\Usr\Proj\ImageCraft\ImageCraft_IDB\trunk\src\output;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Usr\bin;C:\Program Files (x86)\CollabNet Subversion;C:\Program Files (x86)\TortoiseSVN\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Common Files\Adobe\AGL;c:\Usr\mingw431\bin
GDB path: c:\Usr\mingw463\bin\gdb.exe
DEBUGGEE path: C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
Command-line: c:\Usr\mingw463\bin\gdb.exe -fullname -quiet --interpreter=mi -args C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
Working dir : C:\Usr\Proj\cbBeta\trunk\src\devel
Starting debugger:
[debug]Executing command: c:\Usr\mingw463\bin\gdb.exe -fullname -quiet --interpreter=mi -args C:\Usr\Proj\cbBeta\trunk\src\devel\codeblocks.exe
done
[debug]Executor stopped
[debug]Debugger_GDB_MI::CommitBreakpoints
[debug]ActionsMap::Run -> starting action: 05877658 id: 1
[debug]cmd==>10000000000-interpreter-exec console "source c:\Usr\mingw431\bin\stl.gdb"
[debug]ActionsMap::Run -> starting action: 09CB7250 id: 2
[debug]cmd==>20000000000-interpreter-exec console "source c:\Usr\mingw431\bin\wx.gdb"
[debug]ActionsMap::Run -> starting action: 09CB7400 id: 3
[debug]cmd==>30000000000-enable-pretty-printing
[debug]output==>=thread-group-added,id="i1"
[debug]unparsable_output==>~"Reading symbols from C:\\Usr\\Proj\\cbBeta\\trunk\\src\\devel\\codeblocks.exe..."
[debug]notification event recieved!
[debug]unparsable_output==>~"done.\n"
[debug]unparsable_output==>(gdb)
[debug]unparsable_output==>&"c:Usrmingw431\binstl.gdb: No such file or directory.\n"
[debug]output==>10000000000^error,msg="c:Usrmingw431\binstl.gdb: No such file or directory."
[debug]unparsable_output==>(gdb)
[debug]unparsable_output==>&"c:Usrmingw431\binwx.gdb: No such file or directory.\n"
[debug]output==>20000000000^error,msg="c:Usrmingw431\binwx.gdb: No such file or directory."
[debug]unparsable_output==>(gdb)
[debug]output==>30000000000^done
[debug]unparsable_output==>(gdb)
[debug]ActionsMap::Run -> starting action: 057925C8 id: 4
[debug]RunAction::OnStart -> -exec-run
[debug]cmd==>40000000000-exec-run
[debug]output==>=thread-group-started,id="i1",pid="3644"
[debug]output==>=thread-created,id="1",group-id="i1"
[debug]unparsable_output==>~"[New Thread 3644.0x818]\n"
[debug]output==>40000000000^running
[debug]output==>*running,thread-id="all"
[debug]unparsable_output==>(gdb)
[debug]notification event recieved!
Found child pid: 3644
[debug]notification event recieved!
[debug]RunAction success, the debugger is !stopped!
[debug]RunAction::Output - type: result
class: running
results:
[debug]Executor started
[debug]notification event recieved!
[debug]unparsable_output==>&"warning: Can not parse XML library list; XML support was disabled at compile time\n"
[debug]RunAction::destructor
[debug]output==>=thread-exited,id="1",group-id="i1"
[debug]output==>=thread-group-exited,id="i1",exit-code="01777777777777777777777"
[debug]output==>*stopped,reason="exited",exit-code="037777777777"
[debug]unparsable_output==>(gdb)
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]cmd==>00000000000-gdb-exit
[debug]GDBExecutor is not stopped, but command (-gdb-exit) was executed!
[debug]output==>00000000000^exit
debugger terminated!
--- End code ---
oBFusCATed:
GDB doesn't exit, C::B exits for some reason. Does it enter some function in our code? Or it fails before that?
Have you tried to put a breakpoint on the exit function (you have to set the breakpoint manually from the command entry box)?
Does C::B runs correctly with the normal debugger? Is the PATH env var set the same in both debuggers?
I've just tested and it works on linux.
Pecan:
debugger_gdbmi does not seem to be able to trace across a call.
When I put an asm("int3"); in the code, on the next function call no more stepping is possible and the frame window shows only strange results.
When this happens, the step next button is enabled but nothing happens on the screen. There is no current debug line pointer. The only way out is to either "run" (then cb exits) or to use the stop debugger button.
None of these problems occur using the regular debugger in the debugger branch. I'll document that for you if you'd like.
--- Code: ---Active debugger config: GDB/MI:Default
start debugger
Building to ensure sources are up-to-date
Selecting target:
src
Adding file: C:\Usr\Proj\cbDebug\trunk\src\devel\codeblocks.exe
[debug]PATH=.;C:\Usr\Proj\cbDebug\trunk\src\base\tinyxml;C:\Usr\Proj\wxWidgets2810\lib\gcc_dll;C:\Usr\Proj\cbDebug\trunk\src\devel;C:\Usr\mingw431\bin;C:\Usr\mingw431;C:\Usr\Proj\ImageCraft\ImageCraft_IDB\trunk\src\output;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Usr\bin;C:\Program Files (x86)\CollabNet Subversion;C:\Program Files (x86)\TortoiseSVN\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Common Files\Adobe\AGL;c:\Usr\mingw431\bin
GDB path: c:\Usr\mingw463\bin\gdb.exe
DEBUGGEE path: C:\Usr\Proj\cbDebug\trunk\src\devel\codeblocks.exe
Command-line: c:\Usr\mingw463\bin\gdb.exe -fullname -quiet --interpreter=mi -args C:\Usr\Proj\cbDebug\trunk\src\devel\codeblocks.exe
Working dir : C:\Usr\Proj\cbDebug\trunk\src\devel
Starting debugger:
[debug]Executing command: c:\Usr\mingw463\bin\gdb.exe -fullname -quiet --interpreter=mi -args C:\Usr\Proj\cbDebug\trunk\src\devel\codeblocks.exe
done
[debug]Executor stopped
[debug]Debugger_GDB_MI::CommitBreakpoints
[debug]ActionsMap::Run -> starting action: 05AADEA8 id: 1
[debug]cmd==>10000000000-interpreter-exec console "source c:\\Usr\\mingw431\\bin\\stl.gdb"
[debug]ActionsMap::Run -> starting action: 05AAE4D8 id: 2
[debug]cmd==>20000000000-interpreter-exec console "source c:\\Usr\\mingw431\\bin\\wx.gdb"
[debug]ActionsMap::Run -> starting action: 05AAE9E8 id: 3
[debug]cmd==>30000000000-enable-pretty-printing
[debug]output==>=thread-group-added,id="i1"
[debug]notification event recieved!
[debug]unparsable_output==>~"Reading symbols from C:\\Usr\\Proj\\cbDebug\\trunk\\src\\devel\\codeblocks.exe..."
[debug]unparsable_output==>~"done.\n"
[debug]unparsable_output==>(gdb)
[debug]unparsable_output==>&"c:\\Usr\\mingw431\\bin\\stl.gdb:6: Error in sourced command file:\n"
[debug]unparsable_output==>&"Python scripting is not supported in this copy of GDB.\n"
[debug]output==>10000000000^error,msg="c:\\Usr\\mingw431\\bin\\stl.gdb:6: Error in sourced command file:\nPython scripting is not supported in this copy of GDB."
[debug]unparsable_output==>(gdb)
[debug]unparsable_output==>&"c:\\Usr\\mingw431\\bin\\wx.gdb:6: Error in sourced command file:\n"
[debug]unparsable_output==>&"Python scripting is not supported in this copy of GDB.\n"
[debug]output==>20000000000^error,msg="c:\\Usr\\mingw431\\bin\\wx.gdb:6: Error in sourced command file:\nPython scripting is not supported in this copy of GDB."
[debug]unparsable_output==>(gdb)
[debug]output==>30000000000^done
[debug]unparsable_output==>(gdb)
[debug]ActionsMap::Run -> starting action: 054D3E90 id: 4
[debug]RunAction::OnStart -> -exec-run
[debug]cmd==>40000000000-exec-run
[debug]output==>=thread-group-started,id="i1",pid="2612"
[debug]output==>=thread-created,id="1",group-id="i1"
[debug]unparsable_output==>~"[New Thread 2612.0x2b8]\n"
[debug]output==>40000000000^running
[debug]output==>*running,thread-id="all"
[debug]notification event recieved!
Found child pid: 2612
[debug]notification event recieved!
[debug]RunAction success, the debugger is !stopped!
[debug]RunAction::Output - type: result
class: running
results:
[debug]Executor started
[debug]notification event recieved!
[debug]unparsable_output==>(gdb)
[debug]RunAction::destructor
[debug]unparsable_output==>&"warning: Can not parse XML library list; XML support was disabled at compile time\n"
[debug]output==>*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x0049dee1",func="CodeBlocksApp::OnInit",args=[{name="this",value="0x26317c0"}],file="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",fullname="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",line="501"},thread-id="1",stopped-threads="all"
[debug]unparsable_output==>(gdb)
[debug]notification event recieved!
[debug]Executor stopped
[debug]ActionsMap::Run -> starting action: 055C7E70 id: 5
[debug]cmd==>50000000000-stack-info-frame
[debug]cmd==>50000000001-stack-list-frames 0 30
[debug]cmd==>50000000002-stack-list-arguments 1 0 30
[debug]output==>50000000000^done,frame={level="0",addr="0x0049dee1",func="CodeBlocksApp::OnInit",file="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",fullname="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",line="501"}
[debug]unparsable_output==>(gdb)
[debug]output==>50000000001^done,stack=[frame={level="0",addr="0x0049dee1",func="CodeBlocksApp::OnInit",file="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",fullname="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",line="501"},frame={level="1",addr="0x004c063c",func="wxAppConsole::CallOnInit",file="C:/Usr/Proj/wxWidgets2810/include/wx/app.h",fullname="C:/Usr/Proj/wxWidgets2810/include/wx/app.h",line="76"},frame={level="2",addr="0x10038a15",func="??"},frame={level="3",addr="0x1009d89a",func="??"},frame={level="4",addr="0x004a1182",func="WinMain@16",file="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",fullname="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",line="262"},frame={level="5",addr="0x004bb528",func="main"}]
[debug]unparsable_output==>(gdb)
[debug]output==>50000000002^done,stack-args=[frame={level="0",args=[{name="this",value="0x26317c0"}]},frame={level="1",args=[{name="this",value="0x26317c0"}]},frame={level="2",args=[]},frame={level="3",args=[]},frame={level="4",args=[{name="hInstance",value="0x400000"},{name="hPrevInstance",value="0x0"},{name="lpCmdLine",value="0xdb3e13 \"\""},{name="nCmdShow",value="10"}]},frame={level="5",args=[]}]
[debug]unparsable_output==>(gdb)
[debug]GenerateBacktrace::OnCommandOutput: tuple size 6 stack=[frame={level=0,addr=0x0049dee1,func=CodeBlocksApp::OnInit,file=C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp,fullname=C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp,line=501},frame={level=1,addr=0x004c063c,func=wxAppConsole::CallOnInit,file=C:/Usr/Proj/wxWidgets2810/include/wx/app.h,fullname=C:/Usr/Proj/wxWidgets2810/include/wx/app.h,line=76},frame={level=2,addr=0x10038a15,func=??},frame={level=3,addr=0x1009d89a,func=??},frame={level=4,addr=0x004a1182,func=WinMain@16,file=C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp,fullname=C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp,line=262},frame={level=5,addr=0x004bb528,func=main}]
[debug]GenerateBacktrace::OnCommandOutput arguments
[debug]ActionsMap::Run -> starting action: 054D3E90 id: 6
[debug]RunAction::OnStart -> -exec-next
[debug]cmd==>60000000000-exec-next
[debug]output==>60000000000^running
[debug]output==>*running,thread-id="all"
[debug]unparsable_output==>(gdb)
[debug]output==>*stopped,reason="end-stepping-range",frame={addr="0x618af790",func="??",args=[]},thread-id="1",stopped-threads="all"
[debug]unparsable_output==>(gdb)
[debug]RunAction success, the debugger is !stopped!
[debug]RunAction::Output - type: result
class: running
results:
[debug]Executor started
[debug]notification event recieved!
[debug]notification event recieved!
[debug]ParseStateInfo does not have valid source
[debug]Executor stopped
[debug]RunAction::destructor
[debug]ActionsMap::Run -> starting action: 055C7E70 id: 7
[debug]cmd==>70000000000-stack-info-frame
[debug]cmd==>70000000001-stack-list-frames 0 30
[debug]cmd==>70000000002-stack-list-arguments 1 0 30
[debug]output==>70000000000^done,frame={level="0",addr="0x618af790",func="??"}
[debug]unparsable_output==>(gdb)
[debug]output==>70000000001^done,stack=[frame={level="0",addr="0x618af790",func="??"},frame={level="1",addr="0x004c063c",func="wxAppConsole::CallOnInit",file="C:/Usr/Proj/wxWidgets2810/include/wx/app.h",fullname="C:/Usr/Proj/wxWidgets2810/include/wx/app.h",line="76"},frame={level="2",addr="0x10038a15",func="??"},frame={level="3",addr="0x1009d89a",func="??"},frame={level="4",addr="0x004a1182",func="WinMain@16",file="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",fullname="C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp",line="262"},frame={level="5",addr="0x004bb528",func="main"}]
[debug]unparsable_output==>(gdb)
[debug]output==>70000000002^done,stack-args=[frame={level="0",args=[]},frame={level="1",args=[{name="this",value="0x26317c0"}]},frame={level="2",args=[]},frame={level="3",args=[]},frame={level="4",args=[{name="hInstance",value="0x400000"},{name="hPrevInstance",value="0x0"},{name="lpCmdLine",value="0xdb3e13 \"\""},{name="nCmdShow",value="10"}]},frame={level="5",args=[]}]
[debug]GenerateBacktrace::OnCommandOutput: tuple size 6 stack=[frame={level=0,addr=0x618af790,func=??},frame={level=1,addr=0x004c063c,func=wxAppConsole::CallOnInit,file=C:/Usr/Proj/wxWidgets2810/include/wx/app.h,fullname=C:/Usr/Proj/wxWidgets2810/include/wx/app.h,line=76},frame={level=2,addr=0x10038a15,func=??},frame={level=3,addr=0x1009d89a,func=??},frame={level=4,addr=0x004a1182,func=WinMain@16,file=C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp,fullname=C:\\Usr\\Proj\\cbDebug\\trunk\\src\\src\\app.cpp,line=262},frame={level=5,addr=0x004bb528,func=main}]
[debug]GenerateBacktrace::OnCommandOutput arguments
[debug]ActionsMap::Run -> starting action: 0BFD4C00 id: 8
[debug]cmd==>80000000000-stack-select-frame 1
[debug]unparsable_output==>(gdb)
[debug]output==>80000000000^done
[debug]unparsable_output==>(gdb)
[debug]ActionsMap::Run -> starting action: 054D3FF0 id: 9
[debug]RunAction::OnStart -> -exec-next
[debug]cmd==>90000000000-exec-next
[debug]output==>90000000000^error,msg="Cannot find bounds of current function"
[debug]unparsable_output==>(gdb)
[debug]RunAction::destructor
[debug]ActionsMap::Run -> starting action: 054D3FF0 id: 10
[debug]RunAction::OnStart -> -exec-next
[debug]cmd==>100000000000-exec-next
[debug]output==>100000000000^error,msg="Cannot find bounds of current function"
[debug]unparsable_output==>(gdb)
[debug]RunAction::destructor
[debug]ActionsMap::Run -> starting action: 054D3FF0 id: 11
[debug]RunAction::OnStart -> -exec-next
[debug]cmd==>110000000000-exec-next
[debug]output==>110000000000^error,msg="Cannot find bounds of current function"
[debug]unparsable_output==>(gdb)
[debug]RunAction::destructor
--- End code ---
Pecan:
I put a break on "int CodeBlocksApp::OnExit(". Never got there.
Seems like something is issuing an -gdb-exit command to gdb.
--- Code: ---http://debug]Executor started
[debug]notification event recieved!
[debug]output==>=thread-exited,id="1",group-id="i1"
[debug]RunAction::destructor
[debug]output==>=thread-group-exited,id="i1"
[debug]output==>*stopped,reason="exited",exit-code="037777777777"
[debug]unparsable_output==>(gdb)
[debug]notification event recieved!
[debug]notification event recieved!
[debug]notification event recieved!
[debug]cmd==>00000000000-gdb-exit
[debug]GDBExecutor is not stopped, but command (-gdb-exit) was executed!
[debug]output==>00000000000^exit
debugger terminated!
--- End code ---
svn build rev 7904 (2012-03-19 21:48:48) gcc 4.3.1 Windows/unicode - 32 bit
Navigation
[0] Message Index
[#] Next page
Go to full version