User forums > Using Code::Blocks
Possible bug using Code::blocks & GDB on Mac OS X
Joerg:
Hi,
--- Quote ---The workaround under OS X is to add the source directories one at a time: e.g "directory /Users/tharris/Subversion/trunk/Packages/Local/game/1.00.00/src", but that is going to get more and more timeconsuming/troublesome as my project grows
--- End quote ---
i added all subdirectories as under Project/Properties/'Additional Debugger Search Dirs'
without success:
>>>>>>cb_gdb:
> break "D:/Projekte/icps-sw/src/BackgroundTask.c:630"
No source file named D:/Projekte/icps-sw/src/BackgroundTask.c.
Breakpoint 3 ("D:/Projekte/icps-sw/src/BackgroundTask.c:630) pending.
I tried relative and direct paths.
--- Quote ---After adding absolute paths to the source files GDB works
--- End quote ---
What do you mean by that?
I invoke gcc via makefile, paths are defined therein.
If i look into a list file:
13 spi_cs_assert:
14 .LFB2:
15 .file 1 "../../src/spi.c"
Paths are relative here, but C::B calls GDB with an absolut path.
'Advanced Options' have no effect as you already said.
The sources are lying in a different directory than the makefile.
Anyway, running gdb from command line works.
:(
Navigation
[0] Message Index
[*] Previous page
Go to full version