Mapping between GDB source files and project files when symbolic link in path


I experience the following problem.

While debugging, clicking on a stack frame opens a source code file. Let's say the file is /apps/home/martin/my-project/my-file.cpp.

CLion does not seem to recognize this as the project file because it tracks it as ~/my-project/my-file.cpp.

We have a symbolic link as follows: ln -s /apps/home/martin /home/martin

It seems the symbolic link on the path prevents the IDE to recognize that the files are the same. The result being that I cannot do the [Alt+F1 Enter] combo to sync the Project tools window with editor.

Could this be fixed? Is there any workaround?

Thank you

1 comment
Comment actions Permalink

Martin, this can indeed be related to symbolic links, could you please file a bug report with details?


Please sign in to leave a comment.