User forums > Using Code::Blocks

Jumping to file from call stack

(1/1)

von.hake:
Hi. I obtain "Cannot open file: ..." error when trying to use "Jump to this file/frame" from Call stack while debugging.
The matter is that IDE is seeking the file at path1/file.cpp, instead of path1/path2/file.cpp where it is located. So something with directory paths seems to be wrong...
I use custom Makefile for compiling which is located at /path1/Makefile , and in project settings /path1 is set to be Working directory. I've tried to add /path1/path2 into Project->Properties->Debugger->Additional debugger search dirs, but it continues to search file.cpp in /path1 instead of /path1/path2 .
How this problem could be tackled?
Thank you

oBFusCATed:
The Makefile should be in the same directory as the .cbp file (most probably).
I've tried to use C::B with Makefile in different directory and it has not worked very well...

von.hake:
The cbp file is located in the same directory as Makefile - /path1/myproject.cbp
Any other ideas?

Navigation

[0] Message Index

Go to full version