Hi,
I have a problem setting breakpoints in my code. Actually I am able to set breakpoints, but debugger does not stop when it reaches the breakpoint, it simply says "No source file named ../Safka/Safka.cpp.".
Details:
I have the following directory structure.
C:\Z
C:\Z\Saf
C:\Z\Safka
I have the following files
C:\Z\Test.workspace
C:\Z\Saf\Saf.cbp
C:\Z\Saf\Saf.cpp
C:\Z\Saf\Saf.h
C:\Z\Safka\Safka.cbp
C:\Z\Safka\Safka.cpp
C:\Z\Safka\Safka.h
Saf.cbp is a console project. Safka.cbp is a static library project. Saf.cpp contains "main" and simply calls a function in Safka.cpp which prints "doThis" on the screen. I set a preakpoint in this function in Safka.cpp and start the debug (F8). Program runs, I can see the "doThis" on the screen, however debugger does not stop on this breakpoint. On debugger(debug) pane, it says:
Setting breakpoints
Debugger name and version: GNU gdb 6.3
No source file named ../Safka/Safka.cpp.
Breakpoint 1 ("../Safka/Safka.cpp:11) pending.
Build log is as follows:
-------------- Build: debug in Safka ---------------
mingw32-g++.exe -g -ggdb -fno-default-inline -fno-inline -fno-inline-functions -finline-limit=0 -g3 -DDEBUG1 -finput-charset=latin5 -I..\K -I..\T -I..\L -IC:\MinGW\include -c Safka.cpp -o debug\Safka.o
ar.exe -rs debug\libSafka.a debug\Safka.o
ar.exe: creating debug\libSafka.a
-------------- Build: debug in Saf ---------------
mingw32-g++.exe -g -ggdb -fno-default-inline -fno-inline -fno-inline-functions -finline-limit=0 -g3 -DDEBUG1 -finput-charset=latin5 -I..\Safka -I..\T -I..\L -I..\K -IC:\MinGW\include -c Saf.cpp -o debug\Saf.o
mingw32-g++.exe -LC:\MinGW\lib -o debug\Saf.exe debug\Saf.o C:\Z\Safka\debug\libSafka.a
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
I am using "svn build rev 3202" dated Nov 10 2006, 16:32:01.
Is this a bug, or am I doing something wrong?
Thanks,
Ramazan Kartal