debugger breakpoints not working on windows 7 x64

General questions regarding the usage of CodeLite
Ulterior
CodeLite Curious
Posts: 3
Joined: Mon Apr 09, 2012 3:41 am
Genuine User: Yes
IDE Question: c++
Contact:

debugger breakpoints not working on windows 7 x64

Post by Ulterior »

Hi, just downloaded the latest binaries
version: v3.5.5377
OS: windows 7 64 bit (home premium)

Compiled and ran a sample project and my breakpoints are being ignored.

IMO the problem is "DEBUG>>&"No source file named main.c.\n""

Thanks for the great project, will consider donating in the run :)

attaching full debugger log:
Debug session ended
Using gdbinit file: C:\Users\Ulterior\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: C:\Program Files (x86)\CodeLite\test\testcpp
Launching gdb from : ./Debug
Starting debugger : gdb --command="C:\Users\Ulterior\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi "./testcpp"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print elements 200
DEBUG>>00000413-break-insert -f -t main
Debug session started successfully!
DEBUG>>00000414-exec-arguments
DEBUG>>00000415-exec-run
DEBUG>>~"GNU gdb (GDB) 7.0.1\n"
GNU gdb (GDB) 7.0.1
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:\\Program Files (x86)\\CodeLite\\test\\testcpp\\Debug/./testcpp.exe..."
Reading symbols from C:\Program Files (x86)\CodeLite\test\testcpp\Debug/./testcpp.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 elements 200\n"
DEBUG>>^done
DEBUG>>00000413^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x0040131e",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="5",times="0",original-location="main"}
Storing internal breakpoint ID=1
DEBUG>>00000414^done
>> Debuggee process ID: 6424
DEBUG>>=thread-group-created,id="6424"
=thread-group-created,id="6424"
DEBUG>>=thread-created,id="1",group-id="6424"
=thread-created,id="1",group-id="6424"
DEBUG>>~"[New Thread 6424.0xbd4]\n"
[New Thread 6424.0xbd4]
DEBUG>>00000415^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>&"Error: dll starting at 0x771b0000 not found.\n"
DEBUG>>&"Error: dll starting at 0x75140000 not found.\n"
DEBUG>>&"Error: dll starting at 0x771b0000 not found.\n"
DEBUG>>&"Error: dll starting at 0x774e0000 not found.\n"
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\\syswow64\\kernel32.dll",target-name="C:\\windows\\syswow64\\kernel32.dll",host-name="C:\\windows\\syswow64\\kernel32.dll",symbols-loaded="0"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\apphelp.dll",target-name="C:\\windows\\SysWOW64\\apphelp.dll",host-name="C:\\windows\\SysWOW64\\apphelp.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\apphelp.dll",target-name="C:\\windows\\SysWOW64\\apphelp.dll",host-name="C:\\windows\\SysWOW64\\apphelp.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\\SysWOW64\\sechost.dll",target-name="C:\\windows\\SysWOW64\\sechost.dll",host-name="C:\\windows\\SysWOW64\\sechost.dll",symbols-loaded="0"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\samcli.dll",target-name="C:\\windows\\SysWOW64\\samcli.dll",host-name="C:\\windows\\SysWOW64\\samcli.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\samcli.dll",target-name="C:\\windows\\SysWOW64\\samcli.dll",host-name="C:\\windows\\SysWOW64\\samcli.dll",symbols-loaded="0"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\msacm32.dll",target-name="C:\\windows\\SysWOW64\\msacm32.dll",host-name="C:\\windows\\SysWOW64\\msacm32.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\msacm32.dll",target-name="C:\\windows\\SysWOW64\\msacm32.dll",host-name="C:\\windows\\SysWOW64\\msacm32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\version.dll",target-name="C:\\windows\\SysWOW64\\version.dll",host-name="C:\\windows\\SysWOW64\\version.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\version.dll",target-name="C:\\windows\\SysWOW64\\version.dll",host-name="C:\\windows\\SysWOW64\\version.dll",symbols-loaded="0"
DEBUG>>=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"
=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"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\sfc.dll",target-name="C:\\windows\\SysWOW64\\sfc.dll",host-name="C:\\windows\\SysWOW64\\sfc.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\sfc.dll",target-name="C:\\windows\\SysWOW64\\sfc.dll",host-name="C:\\windows\\SysWOW64\\sfc.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\sfc_os.dll",target-name="C:\\windows\\SysWOW64\\sfc_os.dll",host-name="C:\\windows\\SysWOW64\\sfc_os.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\sfc_os.dll",target-name="C:\\windows\\SysWOW64\\sfc_os.dll",host-name="C:\\windows\\SysWOW64\\sfc_os.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\userenv.dll",target-name="C:\\windows\\SysWOW64\\userenv.dll",host-name="C:\\windows\\SysWOW64\\userenv.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\userenv.dll",target-name="C:\\windows\\SysWOW64\\userenv.dll",host-name="C:\\windows\\SysWOW64\\userenv.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\profapi.dll",target-name="C:\\windows\\SysWOW64\\profapi.dll",host-name="C:\\windows\\SysWOW64\\profapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\profapi.dll",target-name="C:\\windows\\SysWOW64\\profapi.dll",host-name="C:\\windows\\SysWOW64\\profapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\dwmapi.dll",target-name="C:\\windows\\SysWOW64\\dwmapi.dll",host-name="C:\\windows\\SysWOW64\\dwmapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\dwmapi.dll",target-name="C:\\windows\\SysWOW64\\dwmapi.dll",host-name="C:\\windows\\SysWOW64\\dwmapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\syswow64\\setupapi.dll",target-name="C:\\windows\\syswow64\\setupapi.dll",host-name="C:\\windows\\syswow64\\setupapi.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\syswow64\\setupapi.dll",target-name="C:\\windows\\syswow64\\setupapi.dll",host-name="C:\\windows\\syswow64\\setupapi.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\syswow64\\cfgmgr32.dll",target-name="C:\\windows\\syswow64\\cfgmgr32.dll",host-name="C:\\windows\\syswow64\\cfgmgr32.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\syswow64\\cfgmgr32.dll",target-name="C:\\windows\\syswow64\\cfgmgr32.dll",host-name="C:\\windows\\syswow64\\cfgmgr32.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\syswow64\\devobj.dll",target-name="C:\\windows\\syswow64\\devobj.dll",host-name="C:\\windows\\syswow64\\devobj.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\syswow64\\devobj.dll",target-name="C:\\windows\\syswow64\\devobj.dll",host-name="C:\\windows\\syswow64\\devobj.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\syswow64\\urlmon.dll",target-name="C:\\windows\\syswow64\\urlmon.dll",host-name="C:\\windows\\syswow64\\urlmon.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\syswow64\\urlmon.dll",target-name="C:\\windows\\syswow64\\urlmon.dll",host-name="C:\\windows\\syswow64\\urlmon.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\syswow64\\iertutil.dll",target-name="C:\\windows\\syswow64\\iertutil.dll",host-name="C:\\windows\\syswow64\\iertutil.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\syswow64\\iertutil.dll",target-name="C:\\windows\\syswow64\\iertutil.dll",host-name="C:\\windows\\syswow64\\iertutil.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\syswow64\\wininet.dll",target-name="C:\\windows\\syswow64\\wininet.dll",host-name="C:\\windows\\syswow64\\wininet.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\syswow64\\wininet.dll",target-name="C:\\windows\\syswow64\\wininet.dll",host-name="C:\\windows\\syswow64\\wininet.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\syswow64\\normaliz.dll",target-name="C:\\windows\\syswow64\\normaliz.dll",host-name="C:\\windows\\syswow64\\normaliz.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\syswow64\\normaliz.dll",target-name="C:\\windows\\syswow64\\normaliz.dll",host-name="C:\\windows\\syswow64\\normaliz.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\mpr.dll",target-name="C:\\windows\\SysWOW64\\mpr.dll",host-name="C:\\windows\\SysWOW64\\mpr.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\mpr.dll",target-name="C:\\windows\\SysWOW64\\mpr.dll",host-name="C:\\windows\\SysWOW64\\mpr.dll",symbols-loaded="0"
DEBUG>>&"Error: dll starting at 0x330000 not found.\n"
DEBUG>>&"Error: dll starting at 0x330000 not found.\n"
DEBUG>>&"Error: dll starting at 0x330000 not found.\n"
DEBUG>>=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"
=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"
DEBUG>>=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"
=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"
DEBUG>>=library-loaded,id="C:\\windows\\SysWOW64\\nvinit.dll",target-name="C:\\windows\\SysWOW64\\nvinit.dll",host-name="C:\\windows\\SysWOW64\\nvinit.dll",symbols-loaded="0"
=library-loaded,id="C:\\windows\\SysWOW64\\nvinit.dll",target-name="C:\\windows\\SysWOW64\\nvinit.dll",host-name="C:\\windows\\SysWOW64\\nvinit.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\detoured.dll",target-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\detoured.dll",host-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\detoured.dll",symbols-loaded="0"
=library-loaded,id="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\detoured.dll",target-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\detoured.dll",host-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\detoured.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\Nvd3d9wrap.dll",target-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\Nvd3d9wrap.dll",host-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\Nvd3d9wrap.dll",symbols-loaded="0"
=library-loaded,id="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\Nvd3d9wrap.dll",target-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\Nvd3d9wrap.dll",host-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\Nvd3d9wrap.dll",symbols-loaded="0"
DEBUG>>=library-loaded,id="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\nvdxgiwrap.dll",target-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\nvdxgiwrap.dll",host-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\nvdxgiwrap.dll",symbols-loaded="0"
=library-loaded,id="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\nvdxgiwrap.dll",target-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\nvdxgiwrap.dll",host-name="C:\\Program Files (x86)\\NVIDIA Corporation\\CoProcManager\\nvdxgiwrap.dll",symbols-loaded="0"
DEBUG>>*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x0040131e",func="main",args=[{name="argc",value="1"},{name="argv",value="0x4e3240"}],file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="5"},thread-id="1",stopped-threads="all"
Internal breakpoint was hit (id=1), Applying user breakpoints and continuing
DEBUG>>00000416-break-insert -f "\"main.c:3\""
DEBUG>>00000417-break-insert -f "\"main.c:6\""
DEBUG>>00000418-break-insert -f "\"main.c:8\""
DEBUG>>00000419-break-insert -f "\"main.c:10\""
DEBUG>>00000420-break-insert -f "\"main.c:11\""
DEBUG>>00000421-break-insert -f "\"main.c:13\""
DEBUG>>00000422-break-insert -f "\"main.c:14\""
DEBUG>>00000423-break-insert -f "\"main.cpp:3\""
DEBUG>>00000424-break-insert -f "\"main.cpp:5\""
DEBUG>>00000425-break-insert -f "\"main.cpp:6\""
DEBUG>>00000426-exec-continue
DEBUG>>&"No source file named main.c.\n"
DEBUG>>00000416^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:3",times="0",original-location="\"main.c:3"}
Found the breakpoint ID!
Storing debugger breakpoint Id=2
Successfully set breakpoint 2 at: C:\Program Files (x86)\CodeLite\test\testc\main.c:3
DEBUG>>&"No source file named main.c.\n"
DEBUG>>00000417^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:6",times="0",original-location="\"main.c:6"}
Found the breakpoint ID!
Storing debugger breakpoint Id=3
Successfully set breakpoint 3 at: C:\Program Files (x86)\CodeLite\test\testc\main.c:6
DEBUG>>&"No source file named main.c.\n"
DEBUG>>00000418^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:8",times="0",original-location="\"main.c:8"}
Found the breakpoint ID!
Storing debugger breakpoint Id=4
Successfully set breakpoint 4 at: C:\Program Files (x86)\CodeLite\test\testc\main.c:8
DEBUG>>&"No source file named main.c.\n"
DEBUG>>00000419^done,bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:10",times="0",original-location="\"main.c:10"}
Found the breakpoint ID!
Storing debugger breakpoint Id=5
Successfully set breakpoint 5 at: C:\Program Files (x86)\CodeLite\test\testc\main.c:10
DEBUG>>&"No source file named main.c.\n"
DEBUG>>00000420^done,bkpt={number="6",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:11",times="0",original-location="\"main.c:11"}
Found the breakpoint ID!
Storing debugger breakpoint Id=6
Successfully set breakpoint 6 at: C:\Program Files (x86)\CodeLite\test\testc\main.c:11
DEBUG>>&"No source file named main.c.\n"
DEBUG>>00000421^done,bkpt={number="7",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:13",times="0",original-location="\"main.c:13"}
Found the breakpoint ID!
Storing debugger breakpoint Id=7
Successfully set breakpoint 7 at: C:\Program Files (x86)\CodeLite\test\testc\main.c:13
DEBUG>>&"No source file named main.c.\n"
DEBUG>>00000422^done,bkpt={number="8",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:14",times="0",original-location="\"main.c:14"}
Found the breakpoint ID!
Storing debugger breakpoint Id=8
Successfully set breakpoint 8 at: C:\Program Files (x86)\CodeLite\test\testc\main.c:14
DEBUG>>00000423^done,bkpt={number="9",type="breakpoint",disp="keep",enabled="y",addr="0x0040131e",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="3",times="0",original-location="\"main.cpp:3"}
Found the breakpoint ID!
Storing debugger breakpoint Id=9
Successfully set breakpoint 9 at: C:\Program Files (x86)\CodeLite\test\testcpp\main.cpp:3
DEBUG>>00000424^done,bkpt={number="10",type="breakpoint",disp="keep",enabled="y",addr="0x0040131e",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="5",times="0",original-location="\"main.cpp:5"}
Found the breakpoint ID!
Storing debugger breakpoint Id=10
Successfully set breakpoint 10 at: C:\Program Files (x86)\CodeLite\test\testcpp\main.cpp:5
DEBUG>>00000425^done,bkpt={number="11",type="breakpoint",disp="keep",enabled="y",addr="0x0040132a",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="6",times="0",original-location="\"main.cpp:6"}
Found the breakpoint ID!
Storing debugger breakpoint Id=11
Successfully set breakpoint 11 at: C:\Program Files (x86)\CodeLite\test\testcpp\main.cpp:6
DEBUG>>00000426^running
Continuing...
DEBUG>>*running,thread-id="1"
*running,thread-id="1"
DEBUG>>*stopped,reason="breakpoint-hit",disp="keep",bkptno="11",frame={addr="0x0040132a",func="main",args=[{name="argc",value="1"},{name="argv",value="0x4e3240"}],file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="6"},thread-id="1",stopped-threads="all"
DEBUG>>00000427-file-list-exec-source-file
DEBUG>>00000428-break-list
DEBUG>>00000427^done,line="6",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",macro-info="0"
DEBUG>>00000428^done,BreakpointTable={nr_rows="10",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="2",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:3",times="0",original-location="\"main.c:3"},bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:6",times="0",original-location="\"main.c:6"},bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:8",times="0",original-location="\"main.c:8"},bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:10",times="0",original-location="\"main.c:10"},bkpt={number="6",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:11",times="0",original-location="\"main.c:11"},bkpt={number="7",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:13",times="0",original-location="\"main.c:13"},bkpt={number="8",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.c:14",times="0",original-location="\"main.c:14"},bkpt={number="9",type="breakpoint",disp="keep",enabled="y",addr="0x0040131e",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="3",times="0",original-location="\"main.cpp:3"},bkpt={number="10",type="breakpoint",disp="keep",enabled="y",addr="0x0040131e",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="5",times="0",original-location="\"main.cpp:5"},bkpt={number="11",type="breakpoint",disp="keep",enabled="y",addr="0x0040132a",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="6",times="1",original-location="\"main.cpp:6"}]}
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: debugger breakpoints not working on windows 7 x64

Post by frank_frl »

Hi Ulterior,

I guess the problem is that your project path contains spaces. GDB doesn't allow spaces in the path.

Regards

Frank
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: debugger breakpoints not working on windows 7 x64

Post by eranif »

frank_frl wrote:I guess the problem is that your project path contains spaces
This indeed known as a cause of many problem, but I think that gdb does allow spaces.
Also, the log clearly shows that some breakpoints where applied properly:

DEBUG>>00000424^done,bkpt={number="10",type="breakpoint",disp="keep",enabled="y",addr="0x0040131e",func="main",file="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",fullname="C:/Program Files (x86)/CodeLite/test/testcpp/main.cpp",line="5",times="0",original-location="\"main.cpp:5"}
Found the breakpoint ID!
So, for main.cpp there is a match, but not for main.c ...
which makes me wonder: why do you have two main files?

You can only debug only one program at a time
Eran
Make sure you have read the HOW TO POST thread
Post Reply