Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
I'm trying to set a breakpoint: says source file not found
280Z28:
--- Quote from: Pecan on December 16, 2005, 12:33:12 am ---I remember having that problem once. I now use the following
.cmd file. Maybe it could help you also.
--- Code: ---c:\usr\codeblocks\bin\gdb --command=run c:\Usr\Proj\cbBeta\trunk\src\devel\codeb
locks.exe
--- End code ---
"run" of "--command=run" is just a file (without an extension) read by gdb.
I keep it in the directory of the target pgm to be debugged
--- Code: ---add-shared-symbol-files c:\Usr\CodeBlocks\share\CodeBlocks\plugins\cbKeyBinder.dll
l keybinder.cpp:809
run
--- End code ---
Maybe something like this will help. Also, do ya think gdb might be slash/backslash sensitive?
pecan
--- End quote ---
I'll try that out tomorrow. :)
I ran GDB on the command line with the same exact sequence that C::B had used, and tried with forward and backslashes. Neither worked. However, it worked when I just put:
break bf2.cpp:82
Since as you can see I was in the same directory :?
Navigation
[0] Message Index
[*] Previous page
Go to full version