Debugger Problem: Can't stop at the breakpoint

CodeLite installation/troubleshooting forum
taohe
CodeLite Enthusiast
Posts: 10
Joined: Sun Aug 08, 2010 4:48 pm
Genuine User: Yes
IDE Question: C++
Contact:

Debugger Problem: Can't stop at the breakpoint

Post by taohe »

I am using CodeLite v2.6.0.4189 on a Windows 7 Ultimate x86. I can't stop at the breakpoints using MinGW gdb in CodeLite. I've tested with both MinGW-4.4.1 in the full installation of CodeLite, and TDM-gcc 4.5.0, and have got the same problem. The full debugger log is attached below for your reference. By the way, I have no problem to debug the program by running gdb on the application in a dos window.

Using gdbinit file: C:\Users\DWG\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: E:\dwg\cpp\wxprjs\auiSampleWFB
Launching gdb from : ./gcc_mswud
Starting debugger : E:\MinGW-4.4.1\bin\gdb.exe --command="C:\Users\DWG\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi "E:\dwg\cpp\wxprjs\auiSampleWFB\gcc_mswud\auiSampleWFB.exe"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print pretty on
DEBUG>>set print elements 200
DEBUG>>00000001-break-insert "\"E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp:376\""
Debug session started successfully!
DEBUG>>00000002-exec-run
DEBUG>>~"GNU gdb (GDB) 7.1\n"
GNU gdb (GDB) 7.1
DEBUG>>~"Copyright (C) 2010 Free Software Foundation, Inc.\n"
Copyright (C) 2010 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
DEBUG>>~"This is free software: you are free to change and redistribute it.\n"
This is free software: you are free to change and redistribute it.
DEBUG>>~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n"
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
DEBUG>>~"and \"show warranty\" for details.\n"
and "show warranty" for details.
DEBUG>>~"This GDB was configured as \"mingw32\".\n"
This GDB was configured as "mingw32".
DEBUG>>~"For bug reporting instructions, please see:\n"
For bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>...\n"
<http://www.gnu.org/software/gdb/bugs/>...
DEBUG>>~"Reading symbols from E:\\dwg\\cpp\\wxprjs\\auiSampleWFB\\gcc_mswud\\auiSampleWFB.exe..."
Reading symbols from E:\dwg\cpp\wxprjs\auiSampleWFB\gcc_mswud\auiSampleWFB.exe...
DEBUG>>~"done.\n"
done.
DEBUG>>&"set new-console on\n"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print pretty on\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
Debuggee process ID: 3900
DEBUG>>00000001^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.""
No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.
DEBUG>>=thread-group-created,id="3900"
=thread-group-created,id="3900"
DEBUG>>=thread-created,id="1",group-id="3900"
=thread-created,id="1",group-id="3900"
DEBUG>>~"[New Thread 3900.0xcb0]\n"
[New Thread 3900.0xcb0]
DEBUG>>00000002^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=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"
...(SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP ...)
=library-loaded,id="C:\\Windows\\system32\\imm32.dll",target-name="C:\\Windows\\system32\\imm32.dll",host-name="C:\\Windows\\system32\\imm32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msctf.dll",target-name="C:\\Windows\\system32\\msctf.dll",host-name="C:\\Windows\\system32\\msctf.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msctf.dll",target-name="C:\\Windows\\system32\\msctf.dll",host-name="C:\\Windows\\system32\\msctf.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\cryptbase.dll",target-name="C:\\Windows\\system32\\cryptbase.dll",host-name="C:\\Windows\\system32\\cryptbase.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\cryptbase.dll",target-name="C:\\Windows\\system32\\cryptbase.dll",host-name="C:\\Windows\\system32\\cryptbase.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msimg32.dll",target-name="C:\\Windows\\system32\\msimg32.dll",host-name="C:\\Windows\\system32\\msimg32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msimg32.dll",target-name="C:\\Windows\\system32\\msimg32.dll",host-name="C:\\Windows\\system32\\msimg32.dll",symbols-loaded="0"
DEBUG>>=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"
=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"
Interrupting debugee process: 3900
DEBUG>>00000003-break-insert "\"E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp:372\""
DEBUG>>00000004-exec-continue
DEBUG>>=thread-created,id="2",group-id="3900"
=thread-created,id="2",group-id="3900"
DEBUG>>~"[New Thread 3900.0x928]\n"
[New Thread 3900.0x928]
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>~"[Switching to Thread 3900.0x928]\n"
[Switching to Thread 3900.0x928]
DEBUG>>*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x77c23575",func="ntdll!DbgUserBreakPoint",args=[],from="C:\\Windows\\system32\\ntdll.dll"},thread-id="2",stopped-threads="all"
Program Received signal SIGTRAP
DEBUG>>00000003^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.""
No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.
DEBUG>>00000004^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=thread-exited,id="2",group-id="3900"
=thread-exited,id="2",group-id="3900"
Debug session ended
Using gdbinit file: C:\Users\DWG\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: E:\dwg\cpp\wxprjs\auiSampleWFB
Launching gdb from : ./gcc_mswud
Starting debugger : E:\MinGW-4.4.1\bin\gdb.exe --command="C:\Users\DWG\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi "E:\dwg\cpp\wxprjs\auiSampleWFB\gcc_mswud\auiSampleWFB.exe"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print pretty on
DEBUG>>set print elements 200
DEBUG>>00000005-break-insert "\"E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp:28\""
DEBUG>>00000006-break-insert "\"E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp:376\""
Debug session started successfully!
DEBUG>>00000007-exec-run
DEBUG>>~"GNU gdb (GDB) 7.1\n"
GNU gdb (GDB) 7.1
DEBUG>>~"Copyright (C) 2010 Free Software Foundation, Inc.\n"
Copyright (C) 2010 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
DEBUG>>~"This is free software: you are free to change and redistribute it.\n"
This is free software: you are free to change and redistribute it.
DEBUG>>~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n"
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
DEBUG>>~"and \"show warranty\" for details.\n"
and "show warranty" for details.
DEBUG>>~"This GDB was configured as \"mingw32\".\n"
This GDB was configured as "mingw32".
DEBUG>>~"For bug reporting instructions, please see:\n"
For bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>...\n"
<http://www.gnu.org/software/gdb/bugs/>...
DEBUG>>~"Reading symbols from E:\\dwg\\cpp\\wxprjs\\auiSampleWFB\\gcc_mswud\\auiSampleWFB.exe..."
Reading symbols from E:\dwg\cpp\wxprjs\auiSampleWFB\gcc_mswud\auiSampleWFB.exe...
DEBUG>>~"done.\n"
done.
DEBUG>>&"set new-console on\n"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print pretty on\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>00000005^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.""
No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.
Debuggee process ID: 460
DEBUG>>00000006^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.""
No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.
DEBUG>>=thread-group-created,id="460"
=thread-group-created,id="460"
DEBUG>>=thread-created,id="1",group-id="460"
=thread-created,id="1",group-id="460"
DEBUG>>~"[New Thread 460.0xc3c]\n"
[New Thread 460.0xc3c]
DEBUG>>00000007^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=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"
=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"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\kernel32.dll",target-name="C:\\Windows\\system32\\kernel32.dll",host-name="C:\\Windows\\system32\\kernel32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\kernel32.dll",target-name="C:\\Windows\\system32\\kernel32.dll",host-name="C:\\Windows\\system32\\kernel32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\KernelBase.dll",target-name="C:\\Windows\\system32\\KernelBase.dll",host-name="C:\\Windows\\system32\\KernelBase.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\KernelBase.dll",target-name="C:\\Windows\\system32\\KernelBase.dll",host-name="C:\\Windows\\system32\\KernelBase.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\advapi32.dll",target-name="C:\\Windows\\system32\\advapi32.dll",host-name="C:\\Windows\\system32\\advapi32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\advapi32.dll",target-name="C:\\Windows\\system32\\advapi32.dll",host-name="C:\\Windows\\system32\\advapi32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msvcrt.dll",target-name="C:\\Windows\\system32\\msvcrt.dll",host-name="C:\\Windows\\system32\\msvcrt.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msvcrt.dll",target-name="C:\\Windows\\system32\\msvcrt.dll",host-name="C:\\Windows\\system32\\msvcrt.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\SYSTEM32\\sechost.dll",target-name="C:\\Windows\\SYSTEM32\\sechost.dll",host-name="C:\\Windows\\SYSTEM32\\sechost.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\SYSTEM32\\sechost.dll",target-name="C:\\Windows\\SYSTEM32\\sechost.dll",host-name="C:\\Windows\\SYSTEM32\\sechost.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\rpcrt4.dll",target-name="C:\\Windows\\system32\\rpcrt4.dll",host-name="C:\\Windows\\system32\\rpcrt4.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\rpcrt4.dll",target-name="C:\\Windows\\system32\\rpcrt4.dll",host-name="C:\\Windows\\system32\\rpcrt4.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",target-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",host-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",target-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",host-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\gdi32.dll",target-name="C:\\Windows\\system32\\gdi32.dll",host-name="C:\\Windows\\system32\\gdi32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\gdi32.dll",target-name="C:\\Windows\\system32\\gdi32.dll",host-name="C:\\Windows\\system32\\gdi32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\user32.dll",target-name="C:\\Windows\\system32\\user32.dll",host-name="C:\\Windows\\system32\\user32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\user32.dll",target-name="C:\\Windows\\system32\\user32.dll",host-name="C:\\Windows\\system32\\user32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\lpk.dll",target-name="C:\\Windows\\system32\\lpk.dll",host-name="C:\\Windows\\system32\\lpk.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\lpk.dll",target-name="C:\\Windows\\system32\\lpk.dll",host-name="C:\\Windows\\system32\\lpk.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\usp10.dll",target-name="C:\\Windows\\system32\\usp10.dll",host-name="C:\\Windows\\system32\\usp10.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\usp10.dll",target-name="C:\\Windows\\system32\\usp10.dll",host-name="C:\\Windows\\system32\\usp10.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\comdlg32.dll",target-name="C:\\Windows\\system32\\comdlg32.dll",host-name="C:\\Windows\\system32\\comdlg32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\comdlg32.dll",target-name="C:\\Windows\\system32\\comdlg32.dll",host-name="C:\\Windows\\system32\\comdlg32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\shlwapi.dll",target-name="C:\\Windows\\system32\\shlwapi.dll",host-name="C:\\Windows\\system32\\shlwapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\shlwapi.dll",target-name="C:\\Windows\\system32\\shlwapi.dll",host-name="C:\\Windows\\system32\\shlwapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\shell32.dll",target-name="C:\\Windows\\system32\\shell32.dll",host-name="C:\\Windows\\system32\\shell32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\shell32.dll",target-name="C:\\Windows\\system32\\shell32.dll",host-name="C:\\Windows\\system32\\shell32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\ole32.dll",target-name="C:\\Windows\\system32\\ole32.dll",host-name="C:\\Windows\\system32\\ole32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\ole32.dll",target-name="C:\\Windows\\system32\\ole32.dll",host-name="C:\\Windows\\system32\\ole32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\oleaut32.dll",target-name="C:\\Windows\\system32\\oleaut32.dll",host-name="C:\\Windows\\system32\\oleaut32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\oleaut32.dll",target-name="C:\\Windows\\system32\\oleaut32.dll",host-name="C:\\Windows\\system32\\oleaut32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\winspool.drv",target-name="C:\\Windows\\system32\\winspool.drv",host-name="C:\\Windows\\system32\\winspool.drv",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\winspool.drv",target-name="C:\\Windows\\system32\\winspool.drv",host-name="C:\\Windows\\system32\\winspool.drv",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\apphelp.dll",target-name="C:\\Windows\\system32\\apphelp.dll",host-name="C:\\Windows\\system32\\apphelp.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\apphelp.dll",target-name="C:\\Windows\\system32\\apphelp.dll",host-name="C:\\Windows\\system32\\apphelp.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\AppPatch\\AcLayers.dll",target-name="C:\\Windows\\AppPatch\\AcLayers.dll",host-name="C:\\Windows\\AppPatch\\AcLayers.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\AppPatch\\AcLayers.dll",target-name="C:\\Windows\\AppPatch\\AcLayers.dll",host-name="C:\\Windows\\AppPatch\\AcLayers.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\sspicli.dll",target-name="C:\\Windows\\system32\\sspicli.dll",host-name="C:\\Windows\\system32\\sspicli.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\sspicli.dll",target-name="C:\\Windows\\system32\\sspicli.dll",host-name="C:\\Windows\\system32\\sspicli.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\userenv.dll",target-name="C:\\Windows\\system32\\userenv.dll",host-name="C:\\Windows\\system32\\userenv.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\userenv.dll",target-name="C:\\Windows\\system32\\userenv.dll",host-name="C:\\Windows\\system32\\userenv.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\profapi.dll",target-name="C:\\Windows\\system32\\profapi.dll",host-name="C:\\Windows\\system32\\profapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\profapi.dll",target-name="C:\\Windows\\system32\\profapi.dll",host-name="C:\\Windows\\system32\\profapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\mpr.dll",target-name="C:\\Windows\\system32\\mpr.dll",host-name="C:\\Windows\\system32\\mpr.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\mpr.dll",target-name="C:\\Windows\\system32\\mpr.dll",host-name="C:\\Windows\\system32\\mpr.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\AppPatch\\AcGenral.dll",target-name="C:\\Windows\\AppPatch\\AcGenral.dll",host-name="C:\\Windows\\AppPatch\\AcGenral.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\AppPatch\\AcGenral.dll",target-name="C:\\Windows\\AppPatch\\AcGenral.dll",host-name="C:\\Windows\\AppPatch\\AcGenral.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\uxtheme.dll",target-name="C:\\Windows\\system32\\uxtheme.dll",host-name="C:\\Windows\\system32\\uxtheme.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\uxtheme.dll",target-name="C:\\Windows\\system32\\uxtheme.dll",host-name="C:\\Windows\\system32\\uxtheme.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\winmm.dll",target-name="C:\\Windows\\system32\\winmm.dll",host-name="C:\\Windows\\system32\\winmm.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\winmm.dll",target-name="C:\\Windows\\system32\\winmm.dll",host-name="C:\\Windows\\system32\\winmm.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\samcli.dll",target-name="C:\\Windows\\system32\\samcli.dll",host-name="C:\\Windows\\system32\\samcli.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\samcli.dll",target-name="C:\\Windows\\system32\\samcli.dll",host-name="C:\\Windows\\system32\\samcli.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msacm32.dll",target-name="C:\\Windows\\system32\\msacm32.dll",host-name="C:\\Windows\\system32\\msacm32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msacm32.dll",target-name="C:\\Windows\\system32\\msacm32.dll",host-name="C:\\Windows\\system32\\msacm32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\version.dll",target-name="C:\\Windows\\system32\\version.dll",host-name="C:\\Windows\\system32\\version.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\version.dll",target-name="C:\\Windows\\system32\\version.dll",host-name="C:\\Windows\\system32\\version.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\sfc.dll",target-name="C:\\Windows\\system32\\sfc.dll",host-name="C:\\Windows\\system32\\sfc.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\sfc.dll",target-name="C:\\Windows\\system32\\sfc.dll",host-name="C:\\Windows\\system32\\sfc.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\sfc_os.dll",target-name="C:\\Windows\\system32\\sfc_os.dll",host-name="C:\\Windows\\system32\\sfc_os.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\sfc_os.dll",target-name="C:\\Windows\\system32\\sfc_os.dll",host-name="C:\\Windows\\system32\\sfc_os.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\dwmapi.dll",target-name="C:\\Windows\\system32\\dwmapi.dll",host-name="C:\\Windows\\system32\\dwmapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\dwmapi.dll",target-name="C:\\Windows\\system32\\dwmapi.dll",host-name="C:\\Windows\\system32\\dwmapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\setupapi.dll",target-name="C:\\Windows\\system32\\setupapi.dll",host-name="C:\\Windows\\system32\\setupapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\setupapi.dll",target-name="C:\\Windows\\system32\\setupapi.dll",host-name="C:\\Windows\\system32\\setupapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\cfgmgr32.dll",target-name="C:\\Windows\\system32\\cfgmgr32.dll",host-name="C:\\Windows\\system32\\cfgmgr32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\cfgmgr32.dll",target-name="C:\\Windows\\system32\\cfgmgr32.dll",host-name="C:\\Windows\\system32\\cfgmgr32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\devobj.dll",target-name="C:\\Windows\\system32\\devobj.dll",host-name="C:\\Windows\\system32\\devobj.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\devobj.dll",target-name="C:\\Windows\\system32\\devobj.dll",host-name="C:\\Windows\\system32\\devobj.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\urlmon.dll",target-name="C:\\Windows\\system32\\urlmon.dll",host-name="C:\\Windows\\system32\\urlmon.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\urlmon.dll",target-name="C:\\Windows\\system32\\urlmon.dll",host-name="C:\\Windows\\system32\\urlmon.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\crypt32.dll",target-name="C:\\Windows\\system32\\crypt32.dll",host-name="C:\\Windows\\system32\\crypt32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\crypt32.dll",target-name="C:\\Windows\\system32\\crypt32.dll",host-name="C:\\Windows\\system32\\crypt32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msasn1.dll",target-name="C:\\Windows\\system32\\msasn1.dll",host-name="C:\\Windows\\system32\\msasn1.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msasn1.dll",target-name="C:\\Windows\\system32\\msasn1.dll",host-name="C:\\Windows\\system32\\msasn1.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\iertutil.dll",target-name="C:\\Windows\\system32\\iertutil.dll",host-name="C:\\Windows\\system32\\iertutil.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\iertutil.dll",target-name="C:\\Windows\\system32\\iertutil.dll",host-name="C:\\Windows\\system32\\iertutil.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\AppPatch\\AcXtrnal.dll",target-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",host-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\AppPatch\\AcXtrnal.dll",target-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",host-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",symbols-loaded="0"
DEBUG>>&"warning: FTH: (460): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***\n"
DEBUG>>&"\n"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\shunimpl.dll",target-name="C:\\Windows\\system32\\shunimpl.dll",host-name="C:\\Windows\\system32\\shunimpl.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\shunimpl.dll",target-name="C:\\Windows\\system32\\shunimpl.dll",host-name="C:\\Windows\\system32\\shunimpl.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\SortServer2003Compat.dll",target-name="C:\\Windows\\system32\\SortServer2003Compat.dll",host-name="C:\\Windows\\system32\\SortServer2003Compat.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\SortServer2003Compat.dll",target-name="C:\\Windows\\system32\\SortServer2003Compat.dll",host-name="C:\\Windows\\system32\\SortServer2003Compat.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\imm32.dll",target-name="C:\\Windows\\system32\\imm32.dll",host-name="C:\\Windows\\system32\\imm32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\imm32.dll",target-name="C:\\Windows\\system32\\imm32.dll",host-name="C:\\Windows\\system32\\imm32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msctf.dll",target-name="C:\\Windows\\system32\\msctf.dll",host-name="C:\\Windows\\system32\\msctf.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msctf.dll",target-name="C:\\Windows\\system32\\msctf.dll",host-name="C:\\Windows\\system32\\msctf.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\cryptbase.dll",target-name="C:\\Windows\\system32\\cryptbase.dll",host-name="C:\\Windows\\system32\\cryptbase.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\cryptbase.dll",target-name="C:\\Windows\\system32\\cryptbase.dll",host-name="C:\\Windows\\system32\\cryptbase.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msimg32.dll",target-name="C:\\Windows\\system32\\msimg32.dll",host-name="C:\\Windows\\system32\\msimg32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msimg32.dll",target-name="C:\\Windows\\system32\\msimg32.dll",host-name="C:\\Windows\\system32\\msimg32.dll",symbols-loaded="0"
DEBUG>>=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"
=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"
Interrupting debugee process: 460
DEBUG>>bt
DEBUG>>00000008-exec-continue
DEBUG>>00000009-file-list-exec-source-file
DEBUG>>=thread-created,id="2",group-id="460"
=thread-created,id="2",group-id="460"
DEBUG>>~"[New Thread 460.0x984]\n"
[New Thread 460.0x984]
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>~"[Switching to Thread 460.0x984]\n"
[Switching to Thread 460.0x984]
DEBUG>>*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x77c23575",func="ntdll!DbgUserBreakPoint",args=[],from="C:\\Windows\\system32\\ntdll.dll"},thread-id="2",stopped-threads="all"
Program Received signal SIGTRAP
DEBUG>>&"bt\n"
DEBUG>>~"#0 0x77c23575 in ntdll!DbgUserBreakPoint () from C:\\Windows\\system32\\ntdll.dll\n"
#0 0x77c23575 in ntdll!DbgUserBreakPoint () from C:\Windows\system32\ntdll.dll
DEBUG>>~"#1 0x77c8d351 in ntdll!EtwEventWriteNoRegistration () from C:\\Windows\\system32\\ntdll.dll\n"
#1 0x77c8d351 in ntdll!EtwEventWriteNoRegistration () from C:\Windows\system32\ntdll.dll
DEBUG>>~"#2 0x70285d64 in ?? ()\n"
#2 0x70285d64 in ?? ()
DEBUG>>~"#3 0x00000000 in ?? ()\n"
#3 0x00000000 in ?? ()
DEBUG>>^done
DEBUG>>00000008^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=thread-exited,id="2",group-id="460"
=thread-exited,id="2",group-id="460"
Interrupting debugee process: 460
DEBUG>>00000010-break-insert "\"E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp:19\""
DEBUG>>00000011-exec-continue
DEBUG>>=thread-created,id="3",group-id="460"
=thread-created,id="3",group-id="460"
DEBUG>>~"[New Thread 460.0x3f0]\n"
[New Thread 460.0x3f0]
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>~"[Switching to Thread 460.0x3f0]\n"
[Switching to Thread 460.0x3f0]
DEBUG>>*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x77c23575",func="ntdll!DbgUserBreakPoint",args=[],from="C:\\Windows\\system32\\ntdll.dll"},thread-id="3",stopped-threads="all"
Program Received signal SIGTRAP
DEBUG>>=thread-selected,id="3"
=thread-selected,id="3"
DEBUG>>00000009^done,line="1",file="../../src/aui/framemanager.cpp",fullname="E:\\wxMSW-2.8.11\\build\\msw/../../src/aui/framemanager.cpp",macro-info="0"
DEBUG>>00000012-stack-list-locals 2
DEBUG>>00000013-stack-list-arguments 2 0 0
DEBUG>>00000010^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.""
No source file named E:/dwg/cpp/wxprjs/auiSampleWFB/MyFrame.cpp.
DEBUG>>00000011^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=thread-exited,id="3",group-id="460"
=thread-exited,id="3",group-id="460"
DEBUG>>00000014-file-list-exec-source-file
Debug session ended
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger Problem: Can't stop at the breakpoint

Post by eranif »

I would suggest 2 options:

1) Enable the option to use file name only for breakpoints (without the path) from : settings -> debugger settings -> 'use file name only for breakpoints (NO full path)'
2) If the previous option did not help, try to enable the option ''Apply breakpoints after main function hit" (from the same dialog as bullet #1)

Eran
Make sure you have read the HOW TO POST thread
taohe
CodeLite Enthusiast
Posts: 10
Joined: Sun Aug 08, 2010 4:48 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger Problem: Can't stop at the breakpoint

Post by taohe »

Thanks for the suggestions. I've tried both but can't get luck. I firstly tried suggestion 1), but the program still doesn't stop at the breakpoint. Then I tried suggeston 2), the program seems to stop in main, but "where" doesn't show anything useful information, and I can't set any other breakpoints.

Full debugging log is attached for your reference. Any help will be appreciated.

Using gdbinit file: C:\Users\DWG\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: E:\dwg\cpp\wxprjs\auiSampleWFB
Launching gdb from : ./gcc_mswud
Starting debugger : E:\MinGW\bin\gdb.exe --command="C:\Users\DWG\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi "E:\dwg\cpp\wxprjs\auiSampleWFB\gcc_mswud\auiSampleWFB.exe"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print pretty on
DEBUG>>set print elements 200
DEBUG>>00000044-break-insert main
Debug session started successfully!
DEBUG>>00000045-exec-run
DEBUG>>~"GNU gdb (GDB) 7.1\n"
GNU gdb (GDB) 7.1
DEBUG>>~"Copyright (C) 2010 Free Software Foundation, Inc.\n"
Copyright (C) 2010 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
DEBUG>>~"This is free software: you are free to change and redistribute it.\n"
This is free software: you are free to change and redistribute it.
DEBUG>>~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n"
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
DEBUG>>~"and \"show warranty\" for details.\n"
and "show warranty" for details.
DEBUG>>~"This GDB was configured as \"mingw32\".\n"
This GDB was configured as "mingw32".
DEBUG>>~"For bug reporting instructions, please see:\n"
For bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>...\n"
<http://www.gnu.org/software/gdb/bugs/>...
DEBUG>>~"Reading symbols from E:\\dwg\\cpp\\wxprjs\\auiSampleWFB\\gcc_mswud\\auiSampleWFB.exe..."
Reading symbols from E:\dwg\cpp\wxprjs\auiSampleWFB\gcc_mswud\auiSampleWFB.exe...
DEBUG>>~"done.\n"
done.
DEBUG>>&"set new-console on\n"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print pretty on\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
Debuggee process ID: 1008
DEBUG>>00000044^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0061f2f0",at="<main+16>",times="0",original-location="main"}
DEBUG>>=thread-group-created,id="1008"
=thread-group-created,id="1008"
DEBUG>>=thread-created,id="1",group-id="1008"
=thread-created,id="1",group-id="1008"
DEBUG>>~"[New Thread 1008.0x880]\n"
[New Thread 1008.0x880]
DEBUG>>00000045^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=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"
=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"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\kernel32.dll",target-name="C:\\Windows\\system32\\kernel32.dll",host-name="C:\\Windows\\system32\\kernel32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\kernel32.dll",target-name="C:\\Windows\\system32\\kernel32.dll",host-name="C:\\Windows\\system32\\kernel32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\KernelBase.dll",target-name="C:\\Windows\\system32\\KernelBase.dll",host-name="C:\\Windows\\system32\\KernelBase.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\KernelBase.dll",target-name="C:\\Windows\\system32\\KernelBase.dll",host-name="C:\\Windows\\system32\\KernelBase.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\advapi32.dll",target-name="C:\\Windows\\system32\\advapi32.dll",host-name="C:\\Windows\\system32\\advapi32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\advapi32.dll",target-name="C:\\Windows\\system32\\advapi32.dll",host-name="C:\\Windows\\system32\\advapi32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msvcrt.dll",target-name="C:\\Windows\\system32\\msvcrt.dll",host-name="C:\\Windows\\system32\\msvcrt.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msvcrt.dll",target-name="C:\\Windows\\system32\\msvcrt.dll",host-name="C:\\Windows\\system32\\msvcrt.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\SYSTEM32\\sechost.dll",target-name="C:\\Windows\\SYSTEM32\\sechost.dll",host-name="C:\\Windows\\SYSTEM32\\sechost.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\SYSTEM32\\sechost.dll",target-name="C:\\Windows\\SYSTEM32\\sechost.dll",host-name="C:\\Windows\\SYSTEM32\\sechost.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\rpcrt4.dll",target-name="C:\\Windows\\system32\\rpcrt4.dll",host-name="C:\\Windows\\system32\\rpcrt4.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\rpcrt4.dll",target-name="C:\\Windows\\system32\\rpcrt4.dll",host-name="C:\\Windows\\system32\\rpcrt4.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",target-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",host-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",target-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",host-name="C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\\comctl32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\gdi32.dll",target-name="C:\\Windows\\system32\\gdi32.dll",host-name="C:\\Windows\\system32\\gdi32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\gdi32.dll",target-name="C:\\Windows\\system32\\gdi32.dll",host-name="C:\\Windows\\system32\\gdi32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\user32.dll",target-name="C:\\Windows\\system32\\user32.dll",host-name="C:\\Windows\\system32\\user32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\user32.dll",target-name="C:\\Windows\\system32\\user32.dll",host-name="C:\\Windows\\system32\\user32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\lpk.dll",target-name="C:\\Windows\\system32\\lpk.dll",host-name="C:\\Windows\\system32\\lpk.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\lpk.dll",target-name="C:\\Windows\\system32\\lpk.dll",host-name="C:\\Windows\\system32\\lpk.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\usp10.dll",target-name="C:\\Windows\\system32\\usp10.dll",host-name="C:\\Windows\\system32\\usp10.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\usp10.dll",target-name="C:\\Windows\\system32\\usp10.dll",host-name="C:\\Windows\\system32\\usp10.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\comdlg32.dll",target-name="C:\\Windows\\system32\\comdlg32.dll",host-name="C:\\Windows\\system32\\comdlg32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\comdlg32.dll",target-name="C:\\Windows\\system32\\comdlg32.dll",host-name="C:\\Windows\\system32\\comdlg32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\shlwapi.dll",target-name="C:\\Windows\\system32\\shlwapi.dll",host-name="C:\\Windows\\system32\\shlwapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\shlwapi.dll",target-name="C:\\Windows\\system32\\shlwapi.dll",host-name="C:\\Windows\\system32\\shlwapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\shell32.dll",target-name="C:\\Windows\\system32\\shell32.dll",host-name="C:\\Windows\\system32\\shell32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\shell32.dll",target-name="C:\\Windows\\system32\\shell32.dll",host-name="C:\\Windows\\system32\\shell32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\ole32.dll",target-name="C:\\Windows\\system32\\ole32.dll",host-name="C:\\Windows\\system32\\ole32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\ole32.dll",target-name="C:\\Windows\\system32\\ole32.dll",host-name="C:\\Windows\\system32\\ole32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\oleaut32.dll",target-name="C:\\Windows\\system32\\oleaut32.dll",host-name="C:\\Windows\\system32\\oleaut32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\oleaut32.dll",target-name="C:\\Windows\\system32\\oleaut32.dll",host-name="C:\\Windows\\system32\\oleaut32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\winspool.drv",target-name="C:\\Windows\\system32\\winspool.drv",host-name="C:\\Windows\\system32\\winspool.drv",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\winspool.drv",target-name="C:\\Windows\\system32\\winspool.drv",host-name="C:\\Windows\\system32\\winspool.drv",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\apphelp.dll",target-name="C:\\Windows\\system32\\apphelp.dll",host-name="C:\\Windows\\system32\\apphelp.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\apphelp.dll",target-name="C:\\Windows\\system32\\apphelp.dll",host-name="C:\\Windows\\system32\\apphelp.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\AppPatch\\AcLayers.dll",target-name="C:\\Windows\\AppPatch\\AcLayers.dll",host-name="C:\\Windows\\AppPatch\\AcLayers.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\AppPatch\\AcLayers.dll",target-name="C:\\Windows\\AppPatch\\AcLayers.dll",host-name="C:\\Windows\\AppPatch\\AcLayers.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\sspicli.dll",target-name="C:\\Windows\\system32\\sspicli.dll",host-name="C:\\Windows\\system32\\sspicli.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\sspicli.dll",target-name="C:\\Windows\\system32\\sspicli.dll",host-name="C:\\Windows\\system32\\sspicli.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\userenv.dll",target-name="C:\\Windows\\system32\\userenv.dll",host-name="C:\\Windows\\system32\\userenv.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\userenv.dll",target-name="C:\\Windows\\system32\\userenv.dll",host-name="C:\\Windows\\system32\\userenv.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\profapi.dll",target-name="C:\\Windows\\system32\\profapi.dll",host-name="C:\\Windows\\system32\\profapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\profapi.dll",target-name="C:\\Windows\\system32\\profapi.dll",host-name="C:\\Windows\\system32\\profapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\mpr.dll",target-name="C:\\Windows\\system32\\mpr.dll",host-name="C:\\Windows\\system32\\mpr.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\mpr.dll",target-name="C:\\Windows\\system32\\mpr.dll",host-name="C:\\Windows\\system32\\mpr.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\AppPatch\\AcGenral.dll",target-name="C:\\Windows\\AppPatch\\AcGenral.dll",host-name="C:\\Windows\\AppPatch\\AcGenral.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\AppPatch\\AcGenral.dll",target-name="C:\\Windows\\AppPatch\\AcGenral.dll",host-name="C:\\Windows\\AppPatch\\AcGenral.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\uxtheme.dll",target-name="C:\\Windows\\system32\\uxtheme.dll",host-name="C:\\Windows\\system32\\uxtheme.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\uxtheme.dll",target-name="C:\\Windows\\system32\\uxtheme.dll",host-name="C:\\Windows\\system32\\uxtheme.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\winmm.dll",target-name="C:\\Windows\\system32\\winmm.dll",host-name="C:\\Windows\\system32\\winmm.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\winmm.dll",target-name="C:\\Windows\\system32\\winmm.dll",host-name="C:\\Windows\\system32\\winmm.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\samcli.dll",target-name="C:\\Windows\\system32\\samcli.dll",host-name="C:\\Windows\\system32\\samcli.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\samcli.dll",target-name="C:\\Windows\\system32\\samcli.dll",host-name="C:\\Windows\\system32\\samcli.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msacm32.dll",target-name="C:\\Windows\\system32\\msacm32.dll",host-name="C:\\Windows\\system32\\msacm32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msacm32.dll",target-name="C:\\Windows\\system32\\msacm32.dll",host-name="C:\\Windows\\system32\\msacm32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\version.dll",target-name="C:\\Windows\\system32\\version.dll",host-name="C:\\Windows\\system32\\version.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\version.dll",target-name="C:\\Windows\\system32\\version.dll",host-name="C:\\Windows\\system32\\version.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\sfc.dll",target-name="C:\\Windows\\system32\\sfc.dll",host-name="C:\\Windows\\system32\\sfc.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\sfc.dll",target-name="C:\\Windows\\system32\\sfc.dll",host-name="C:\\Windows\\system32\\sfc.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\sfc_os.dll",target-name="C:\\Windows\\system32\\sfc_os.dll",host-name="C:\\Windows\\system32\\sfc_os.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\sfc_os.dll",target-name="C:\\Windows\\system32\\sfc_os.dll",host-name="C:\\Windows\\system32\\sfc_os.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\dwmapi.dll",target-name="C:\\Windows\\system32\\dwmapi.dll",host-name="C:\\Windows\\system32\\dwmapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\dwmapi.dll",target-name="C:\\Windows\\system32\\dwmapi.dll",host-name="C:\\Windows\\system32\\dwmapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\setupapi.dll",target-name="C:\\Windows\\system32\\setupapi.dll",host-name="C:\\Windows\\system32\\setupapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\setupapi.dll",target-name="C:\\Windows\\system32\\setupapi.dll",host-name="C:\\Windows\\system32\\setupapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\cfgmgr32.dll",target-name="C:\\Windows\\system32\\cfgmgr32.dll",host-name="C:\\Windows\\system32\\cfgmgr32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\cfgmgr32.dll",target-name="C:\\Windows\\system32\\cfgmgr32.dll",host-name="C:\\Windows\\system32\\cfgmgr32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\devobj.dll",target-name="C:\\Windows\\system32\\devobj.dll",host-name="C:\\Windows\\system32\\devobj.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\devobj.dll",target-name="C:\\Windows\\system32\\devobj.dll",host-name="C:\\Windows\\system32\\devobj.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\urlmon.dll",target-name="C:\\Windows\\system32\\urlmon.dll",host-name="C:\\Windows\\system32\\urlmon.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\urlmon.dll",target-name="C:\\Windows\\system32\\urlmon.dll",host-name="C:\\Windows\\system32\\urlmon.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\crypt32.dll",target-name="C:\\Windows\\system32\\crypt32.dll",host-name="C:\\Windows\\system32\\crypt32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\crypt32.dll",target-name="C:\\Windows\\system32\\crypt32.dll",host-name="C:\\Windows\\system32\\crypt32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msasn1.dll",target-name="C:\\Windows\\system32\\msasn1.dll",host-name="C:\\Windows\\system32\\msasn1.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msasn1.dll",target-name="C:\\Windows\\system32\\msasn1.dll",host-name="C:\\Windows\\system32\\msasn1.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\iertutil.dll",target-name="C:\\Windows\\system32\\iertutil.dll",host-name="C:\\Windows\\system32\\iertutil.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\iertutil.dll",target-name="C:\\Windows\\system32\\iertutil.dll",host-name="C:\\Windows\\system32\\iertutil.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\AppPatch\\AcXtrnal.dll",target-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",host-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\AppPatch\\AcXtrnal.dll",target-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",host-name="C:\\Windows\\AppPatch\\AcXtrnal.dll",symbols-loaded="0"
DEBUG>>&"warning: FTH: (1008): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***\n"
DEBUG>>&"\n"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\shunimpl.dll",target-name="C:\\Windows\\system32\\shunimpl.dll",host-name="C:\\Windows\\system32\\shunimpl.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\shunimpl.dll",target-name="C:\\Windows\\system32\\shunimpl.dll",host-name="C:\\Windows\\system32\\shunimpl.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\SortServer2003Compat.dll",target-name="C:\\Windows\\system32\\SortServer2003Compat.dll",host-name="C:\\Windows\\system32\\SortServer2003Compat.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\SortServer2003Compat.dll",target-name="C:\\Windows\\system32\\SortServer2003Compat.dll",host-name="C:\\Windows\\system32\\SortServer2003Compat.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\imm32.dll",target-name="C:\\Windows\\system32\\imm32.dll",host-name="C:\\Windows\\system32\\imm32.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\imm32.dll",target-name="C:\\Windows\\system32\\imm32.dll",host-name="C:\\Windows\\system32\\imm32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Windows\\system32\\msctf.dll",target-name="C:\\Windows\\system32\\msctf.dll",host-name="C:\\Windows\\system32\\msctf.dll",symbols-loaded="0"
=library-loaded,id="C:\\Windows\\system32\\msctf.dll",target-name="C:\\Windows\\system32\\msctf.dll",host-name="C:\\Windows\\system32\\msctf.dll",symbols-loaded="0"
DEBUG>>*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x0061f2f0",func="main",args=[]},thread-id="1",stopped-threads="all"
DEBUG>>00000046-file-list-exec-source-file
DEBUG>>00000047-break-list
DEBUG>>00000046^done,line="1",file="c:/mingw32/bin/../lib/gcc/mingw32/4.5.0/include/c++/cstddef",fullname="c:/mingw32/bin/../lib/gcc/mingw32/4.5.0/include/c++/cstddef",macro-info="0"
DEBUG>>00000048-stack-list-locals 2
DEBUG>>00000049-stack-list-arguments 2 0 0
DEBUG>>00000047^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="0x0061f2f0",at="<main+16>",times="1",original-location="main"}]}
DEBUG>>00000048^done,locals=[]
DEBUG>>00000049^done,stack-args=[frame={level="0",args=[]}]
DEBUG>>where
DEBUG>>&"where\n"
DEBUG>>~"#0 0x0061f2f0 in main ()\n"
#0 0x0061f2f0 in main ()
DEBUG>>^done
DEBUG>>l
DEBUG>>&"l\n"
DEBUG>>~"1\t// -*- C++ -*- forwarding header.\n"
1\t// -*- C++ -*- forwarding header.
DEBUG>>~"2\t\n"
2\t
DEBUG>>~"3\t// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,\n"
3\t// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
DEBUG>>~"4\t// 2006, 2007, 2008, 2009, 2010\n"
4\t// 2006, 2007, 2008, 2009, 2010
DEBUG>>~"5\t// Free Software Foundation, Inc.\n"
5\t// Free Software Foundation, Inc.
DEBUG>>~"6\t//\n"
6\t//
DEBUG>>~"7\t// This file is part of the GNU ISO C++ Library. This library is free\n"
7\t// This file is part of the GNU ISO C++ Library. This library is free
DEBUG>>~"8\t// software; you can redistribute it and/or modify it under the\n"
8\t// software; you can redistribute it and/or modify it under the
DEBUG>>~"9\t// terms of the GNU General Public License as published by the\n"
9\t// terms of the GNU General Public License as published by the
DEBUG>>~"10\t// Free Software Foundation; either version 3, or (at your option)\n"
10\t// Free Software Foundation; either version 3, or (at your option)
DEBUG>>^done
DEBUG>>00000050-break-insert "\"MyApp.cpp:12\""
DEBUG>>00000050^error,msg="No source file named MyApp.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named MyApp.cpp.""
No source file named MyApp.cpp.
taohe
CodeLite Enthusiast
Posts: 10
Joined: Sun Aug 08, 2010 4:48 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger Problem: Can't stop at the breakpoint

Post by taohe »

By the way, the log file mentions about using C:\Users\DWG\AppData\Local\Temp\codelite_gdbinit.txt. I just found that this file is blank (0 byte). Is it normal?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger Problem: Can't stop at the breakpoint

Post by eranif »

how did you built your application? Can you paste the build output here?

Eran
Make sure you have read the HOW TO POST thread
taohe
CodeLite Enthusiast
Posts: 10
Joined: Sun Aug 08, 2010 4:48 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger Problem: Can't stop at the breakpoint

Post by taohe »

I am quite new to CodeLite. With this example, I am playing with using Bakefile with CodeLite project. So I used pre-build command to create the makefile based on the bakefile, and use normal mingw32-make command line as I did without CodeLite previously.

Build output is attached below for your reference.

----------Build Started--------
MESSAGE: Entering directory `E:\dwg\cpp\wxprjs\auiSampleWFB\'
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "auiSampleWFB.mk""
----------Building project:[ auiSampleWFB - Debug ]----------
Executing Pre Build commands ...
no changes in makefile.gcc
Done
mingw32-make[1]: Entering directory `E:/dwg/cpp/wxprjs/auiSampleWFB'
g++ -c -o gcc_mswud\auiSampleWFB_MyApp.o -DHAVE_W32API_H -D_UNICODE -D__WXDEBUG__ -D__WXMSW__ -Ie:\wxMSW-2.8.11\lib\gcc_lib\mswud -Ie:\wxMSW-2.8.11\include -MTgcc_mswud\auiSampleWFB_MyApp.o -MFgcc_mswud\auiSampleWFB_MyApp.o.d -MD -MP MyApp.cpp
g++ -c -o gcc_mswud\auiSampleWFB_MyFrame.o -DHAVE_W32API_H -D_UNICODE -D__WXDEBUG__ -D__WXMSW__ -Ie:\wxMSW-2.8.11\lib\gcc_lib\mswud -Ie:\wxMSW-2.8.11\include -MTgcc_mswud\auiSampleWFB_MyFrame.o -MFgcc_mswud\auiSampleWFB_MyFrame.o.d -MD -MP MyFrame.cpp
g++ -c -o gcc_mswud\auiSampleWFB_MyFrameWFB.o -DHAVE_W32API_H -D_UNICODE -D__WXDEBUG__ -D__WXMSW__ -Ie:\wxMSW-2.8.11\lib\gcc_lib\mswud -Ie:\wxMSW-2.8.11\include -MTgcc_mswud\auiSampleWFB_MyFrameWFB.o -MFgcc_mswud\auiSampleWFB_MyFrameWFB.o.d -MD -MP MyFrameWFB.cpp
g++ -c -o gcc_mswud\auiSampleWFB_SettingsPanel.o -DHAVE_W32API_H -D_UNICODE -D__WXDEBUG__ -D__WXMSW__ -Ie:\wxMSW-2.8.11\lib\gcc_lib\mswud -Ie:\wxMSW-2.8.11\include -MTgcc_mswud\auiSampleWFB_SettingsPanel.o -MFgcc_mswud\auiSampleWFB_SettingsPanel.o.d -MD -MP SettingsPanel.cpp
g++ -c -o gcc_mswud\auiSampleWFB_wxSizeReportCtrl.o -DHAVE_W32API_H -D_UNICODE -D__WXDEBUG__ -D__WXMSW__ -Ie:\wxMSW-2.8.11\lib\gcc_lib\mswud -Ie:\wxMSW-2.8.11\include -MTgcc_mswud\auiSampleWFB_wxSizeReportCtrl.o -MFgcc_mswud\auiSampleWFB_wxSizeReportCtrl.o.d -MD -MP wxSizeReportCtrl.cpp
g++ -o gcc_mswud\auiSampleWFB.exe gcc_mswud\auiSampleWFB_MyApp.o gcc_mswud\auiSampleWFB_MyFrame.o gcc_mswud\auiSampleWFB_MyFrameWFB.o gcc_mswud\auiSampleWFB_SettingsPanel.o gcc_mswud\auiSampleWFB_wxSizeReportCtrl.o -mthreads -Le:\wxMSW-2.8.11\lib\gcc_lib -Wl,--subsystem,windows -mwindows -lwxmsw28ud_aui -lwxmsw28ud_html -lwxmsw28ud_adv -lwxmsw28ud_core -lwxbase28ud_xml -lwxbase28ud -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
mingw32-make[1]: Leaving directory `E:/dwg/cpp/wxprjs/auiSampleWFB'
----------Build Ended----------
0 errors, 0 warnings, total time: 00:00:47 seconds
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger Problem: Can't stop at the breakpoint

Post by eranif »

I am not sure how you debugged it from command line, but the fact is that you dont have -g in the build line.
Try to add -g and the debugging will work

Eran
Make sure you have read the HOW TO POST thread
taohe
CodeLite Enthusiast
Posts: 10
Joined: Sun Aug 08, 2010 4:48 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger Problem: Can't stop at the breakpoint

Post by taohe »

You are right. I've overlooked it. I need to fix my bakefile. Now debugger works fine. Thanks!
Post Reply