I am using C::B on Windows and Linux Kubuntu i386. On Linux, there is a serious C::B problem that isn't seen on Windows: Sometimes, typically when you are debugging or reviewing build errors, you can end up with two views of the same file. If you edit one, the other becomes out of date. This is extremely confusing as you often end up compiling something else than what you have recently edited.
Is this a known problem?
I 've seen this before and it had to do with symlinks. Let me explain.
I had my project, say, in
~/projects/frm/tests/unit/des. Now, for convenience, I had that directory symlinked to
~/projects/frm/des_test.
So, I opened the project file from inside the symlink (
~/projects/frm/des_test/something.cbp). Then I started debugging. When I landed in a file of that project, the debugger opened the file from its real path (
~/projects/frm/tests/unit/des/somefile.cpp).
The result was that the same file was open twice from two
different locations.
Is this the same as what you 're describing? If so, the only work-around is to open the project file from its
real path... Ideas/patches to properly fix this are welcomed