Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: von.hake on December 17, 2010, 06:11:27 pm

Title: Jumping to file from call stack
Post by: von.hake on December 17, 2010, 06:11:27 pm
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
Title: Re: Jumping to file from call stack
Post by: oBFusCATed on December 17, 2010, 06:20:34 pm
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...
Title: Re: Jumping to file from call stack
Post by: von.hake on December 19, 2010, 11:22:04 am
The cbp file is located in the same directory as Makefile - /path1/myproject.cbp
Any other ideas?