Author Topic: Jumping to file from call stack  (Read 1557 times)

Offline von.hake

  • Multiple posting newcomer
  • *
  • Posts: 16
Jumping to file from call stack
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11824
    • Travis build status
Re: Jumping to file from call stack
« Reply #1 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...
(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!]

Offline von.hake

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Jumping to file from call stack
« Reply #2 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?