Page 1 of 1

problem setting breakpoint

Posted: Sun Jan 31, 2010 3:35 am
by kspes
I'm having problems setting breakpoints in my project. it works for small hello world projects but comes to a bump on larger projects with code in subfolders; I searched the forum for this problem and found this thread: http://codelite.org/forum/viewtopic.php ... sful#p2390

codelite version: rev3681 (2.2 binary)
gdb: 7.0
g++: 4.4.0


most important line:
DEBUG>>00000033^error,msg="No source file named C:/projects/brawe/src/engine/ALSound.cpp."
Breakpoint creation unsuccessful

Debugger log:
Debug session ended
Using gdbinit file: C:\DOCUME~1\kspes\LOCALS~1\Temp\codelite_gdbinit.txt
Current working dir: C:\projects\brawe
Launching gdb from : C:\projects\brawe\
Starting debugger : gdb --command="C:\DOCUME~1\kspes\LOCALS~1\Temp\codelite_gdbinit.txt" --interpreter=mi "./brawe"
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>>00000033-break-insert "\"C:/projects/brawe/src/engine/ALSound.cpp:126\""
DEBUG>>00000034-break-insert "\"C:/projects/brawe/src/platform_windows.cpp:323\""
DEBUG>>00000035-break-insert "\"C:/projects/brawe/src/main_windows.cpp:38\""
Debug session started successfully!
DEBUG>>00000036-exec-run
DEBUG>>~"GNU gdb (GDB) 7.0\n"
GNU gdb (GDB) 7.0
DEBUG>>~"Copyright (C) 2009 Free Software Foundation, Inc.\n"
Copyright (C) 2009 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 C:\\projects\\brawe/./brawe.exe..."
Reading symbols from C:\projects\brawe/./brawe.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>>00000033^error,msg="No source file named C:/projects/brawe/src/engine/ALSound.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named C:/projects/brawe/src/engine/ALSound.cpp.""
No source file named C:/projects/brawe/src/engine/ALSound.cpp.
DEBUG>>00000034^error,msg="No source file named C:/projects/brawe/src/platform_windows.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named C:/projects/brawe/src/platform_windows.cpp.""
No source file named C:/projects/brawe/src/platform_windows.cpp.
Debuggee process ID: 2104
DEBUG>>00000035^error,msg="No source file named C:/projects/brawe/src/main_windows.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named C:/projects/brawe/src/main_windows.cpp.""
No source file named C:/projects/brawe/src/main_windows.cpp.
DEBUG>>=thread-group-created,id="2104"
=thread-group-created,id="2104"
DEBUG>>=thread-created,id="1",group-id="2104"
=thread-created,id="1",group-id="2104"
DEBUG>>~"[New Thread 2104.0x298]\n"
[New Thread 2104.0x298]
DEBUG>>00000036^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:\\projects\\brawe\\DevIL.dll",target-name="C:\\projects\\brawe\\DevIL.dll",host-name="C:\\projects\\brawe\\DevIL.dll",symbols-loaded="0"
=library-loaded,id="C:\\projects\\brawe\\DevIL.dll",target-name="C:\\projects\\brawe\\DevIL.dll",host-name="C:\\projects\\brawe\\DevIL.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcp80.dll",target-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcp80.dll",host-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcp80.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcp80.dll",target-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcp80.dll",host-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcp80.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcr80.dll",target-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcr80.dll",host-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcr80.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcr80.dll",target-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcr80.dll",host-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\\msvcr80.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\\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\\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:\\projects\\brawe\\ILU.dll",target-name="C:\\projects\\brawe\\ILU.dll",host-name="C:\\projects\\brawe\\ILU.dll",symbols-loaded="0"
=library-loaded,id="C:\\projects\\brawe\\ILU.dll",target-name="C:\\projects\\brawe\\ILU.dll",host-name="C:\\projects\\brawe\\ILU.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\projects\\brawe\\ILUT.dll",target-name="C:\\projects\\brawe\\ILUT.dll",host-name="C:\\projects\\brawe\\ILUT.dll",symbols-loaded="0"
=library-loaded,id="C:\\projects\\brawe\\ILUT.dll",target-name="C:\\projects\\brawe\\ILUT.dll",host-name="C:\\projects\\brawe\\ILUT.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\\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\\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\\system32\\secur32.dll",target-name="C:\\WINDOWS\\system32\\secur32.dll",host-name="C:\\WINDOWS\\system32\\secur32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\secur32.dll",target-name="C:\\WINDOWS\\system32\\secur32.dll",host-name="C:\\WINDOWS\\system32\\secur32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\comctl32.dll",target-name="C:\\WINDOWS\\system32\\comctl32.dll",host-name="C:\\WINDOWS\\system32\\comctl32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\comctl32.dll",target-name="C:\\WINDOWS\\system32\\comctl32.dll",host-name="C:\\WINDOWS\\system32\\comctl32.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\\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:\\projects\\brawe\\glut32.dll",target-name="C:\\projects\\brawe\\glut32.dll",host-name="C:\\projects\\brawe\\glut32.dll",symbols-loaded="0"
=library-loaded,id="C:\\projects\\brawe\\glut32.dll",target-name="C:\\projects\\brawe\\glut32.dll",host-name="C:\\projects\\brawe\\glut32.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\\glu32.dll",target-name="C:\\WINDOWS\\system32\\glu32.dll",host-name="C:\\WINDOWS\\system32\\glu32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\glu32.dll",target-name="C:\\WINDOWS\\system32\\glu32.dll",host-name="C:\\WINDOWS\\system32\\glu32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\opengl32.dll",target-name="C:\\WINDOWS\\system32\\opengl32.dll",host-name="C:\\WINDOWS\\system32\\opengl32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\opengl32.dll",target-name="C:\\WINDOWS\\system32\\opengl32.dll",host-name="C:\\WINDOWS\\system32\\opengl32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\ddraw.dll",target-name="C:\\WINDOWS\\system32\\ddraw.dll",host-name="C:\\WINDOWS\\system32\\ddraw.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\ddraw.dll",target-name="C:\\WINDOWS\\system32\\ddraw.dll",host-name="C:\\WINDOWS\\system32\\ddraw.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\dciman32.dll",target-name="C:\\WINDOWS\\system32\\dciman32.dll",host-name="C:\\WINDOWS\\system32\\dciman32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\dciman32.dll",target-name="C:\\WINDOWS\\system32\\dciman32.dll",host-name="C:\\WINDOWS\\system32\\dciman32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\dev\\MinGW-4.4.0\\bin\\libgcc_s_dw2-1.dll",target-name="C:\\dev\\MinGW-4.4.0\\bin\\libgcc_s_dw2-1.dll",host-name="C:\\dev\\MinGW-4.4.0\\bin\\libgcc_s_dw2-1.dll",symbols-loaded="0"
=library-loaded,id="C:\\dev\\MinGW-4.4.0\\bin\\libgcc_s_dw2-1.dll",target-name="C:\\dev\\MinGW-4.4.0\\bin\\libgcc_s_dw2-1.dll",host-name="C:\\dev\\MinGW-4.4.0\\bin\\libgcc_s_dw2-1.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\projects\\brawe\\libxml2.dll",target-name="C:\\projects\\brawe\\libxml2.dll",host-name="C:\\projects\\brawe\\libxml2.dll",symbols-loaded="0"
=library-loaded,id="C:\\projects\\brawe\\libxml2.dll",target-name="C:\\projects\\brawe\\libxml2.dll",host-name="C:\\projects\\brawe\\libxml2.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\wsock32.dll",target-name="C:\\WINDOWS\\system32\\wsock32.dll",host-name="C:\\WINDOWS\\system32\\wsock32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\wsock32.dll",target-name="C:\\WINDOWS\\system32\\wsock32.dll",host-name="C:\\WINDOWS\\system32\\wsock32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\ws2_32.dll",target-name="C:\\WINDOWS\\system32\\ws2_32.dll",host-name="C:\\WINDOWS\\system32\\ws2_32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\ws2_32.dll",target-name="C:\\WINDOWS\\system32\\ws2_32.dll",host-name="C:\\WINDOWS\\system32\\ws2_32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\ws2help.dll",target-name="C:\\WINDOWS\\system32\\ws2help.dll",host-name="C:\\WINDOWS\\system32\\ws2help.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\ws2help.dll",target-name="C:\\WINDOWS\\system32\\ws2help.dll",host-name="C:\\WINDOWS\\system32\\ws2help.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\projects\\brawe\\iconv.dll",target-name="C:\\projects\\brawe\\iconv.dll",host-name="C:\\projects\\brawe\\iconv.dll",symbols-loaded="0"
=library-loaded,id="C:\\projects\\brawe\\iconv.dll",target-name="C:\\projects\\brawe\\iconv.dll",host-name="C:\\projects\\brawe\\iconv.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\projects\\brawe\\zlib1.dll",target-name="C:\\projects\\brawe\\zlib1.dll",host-name="C:\\projects\\brawe\\zlib1.dll",symbols-loaded="0"
=library-loaded,id="C:\\projects\\brawe\\zlib1.dll",target-name="C:\\projects\\brawe\\zlib1.dll",host-name="C:\\projects\\brawe\\zlib1.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll",target-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll",host-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll",target-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.dll",host-name="C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\\comctl32.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\\atioglxx.dll",target-name="C:\\WINDOWS\\system32\\atioglxx.dll",host-name="C:\\WINDOWS\\system32\\atioglxx.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\atioglxx.dll",target-name="C:\\WINDOWS\\system32\\atioglxx.dll",host-name="C:\\WINDOWS\\system32\\atioglxx.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\mcd32.dll",target-name="C:\\WINDOWS\\system32\\mcd32.dll",host-name="C:\\WINDOWS\\system32\\mcd32.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\mcd32.dll",target-name="C:\\WINDOWS\\system32\\mcd32.dll",host-name="C:\\WINDOWS\\system32\\mcd32.dll",symbols-loaded="0"
DEBUG>>=library-unloaded,id="C:\\WINDOWS\\system32\\mcd32.dll",target-name="C:\\WINDOWS\\system32\\mcd32.dll",host-name="C:\\WINDOWS\\system32\\mcd32.dll"
=library-unloaded,id="C:\\WINDOWS\\system32\\mcd32.dll",target-name="C:\\WINDOWS\\system32\\mcd32.dll",host-name="C:\\WINDOWS\\system32\\mcd32.dll"
DEBUG>>=library-loaded,id="C:\\WINDOWS\\system32\\BtMmHook.dll",target-name="C:\\WINDOWS\\system32\\BtMmHook.dll",host-name="C:\\WINDOWS\\system32\\BtMmHook.dll",symbols-loaded="0"
=library-loaded,id="C:\\WINDOWS\\system32\\BtMmHook.dll",target-name="C:\\WINDOWS\\system32\\BtMmHook.dll",host-name="C:\\WINDOWS\\system32\\BtMmHook.dll",symbols-loaded="0"
DEBUG>>00000037-exec-continue
DEBUG>>00000038-file-list-exec-source-file
DEBUG>>00000039-exec-continue
DEBUG>>00000040-file-list-exec-source-file
Debug session ended
Using gdbinit file: C:\DOCUME~1\kspes\LOCALS~1\Temp\codelite_gdbinit.txt
Current working dir: C:\projects\brawe
Launching gdb from : C:\projects\brawe\
Starting debugger : gdb --command="C:\DOCUME~1\kspes\LOCALS~1\Temp\codelite_gdbinit.txt" --interpreter=mi "./brawe"
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>>00000041-break-insert "\"C:/projects/brawe/src/engine/ALSound.cpp:126\""
DEBUG>>00000042-break-insert "\"C:/projects/brawe/src/platform_windows.cpp:323\""
DEBUG>>00000043-break-insert "\"C:/projects/brawe/src/main_windows.cpp:38\""
Debug session started successfully!
DEBUG>>00000044-exec-run
DEBUG>>~"GNU gdb (GDB) 7.0\n"
GNU gdb (GDB) 7.0
DEBUG>>~"Copyright (C) 2009 Free Software Foundation, Inc.\n"
Copyright (C) 2009 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 C:\\projects\\brawe/./brawe.exe..."
Reading symbols from C:\projects\brawe/./brawe.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>>00000041^error,msg="No source file named C:/projects/brawe/src/engine/ALSound.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named C:/projects/brawe/src/engine/ALSound.cpp.""
No source file named C:/projects/brawe/src/engine/ALSound.cpp.
DEBUG>>00000042^error,msg="No source file named C:/projects/brawe/src/platform_windows.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named C:/projects/brawe/src/platform_windows.cpp.""
No source file named C:/projects/brawe/src/platform_windows.cpp.
Debuggee process ID: 2796
DEBUG>>00000043^error,msg="No source file named C:/projects/brawe/src/main_windows.cpp."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No source file named C:/projects/brawe/src/main_windows.cpp.""
No source file named C:/projects/brawe/src/main_windows.cpp.
DEBUG>>=thread-group-created,id="2796"
=thread-group-created,id="2796"
DEBUG>>=thread-created,id="1",group-id="2796"
=thread-created,id="1",group-id="2796"
DEBUG>>~"[New Thread 2796.0x708]\n"
[New Thread 2796.0x708]
DEBUG>>00000044^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"

Re: problem setting breakpoint

Posted: Sun Jan 31, 2010 3:51 am
by kspes
Nevermind, the debugger was running the wrong executable file; it works fine now.