News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Jumping to file from call stack

Started by von.hake, December 17, 2010, 06:11:27 PM

Previous topic - Next topic

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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

von.hake

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