Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same file opened on different path if a symlink exists one path #92679

Closed
reporter123 opened this issue Mar 14, 2020 · 2 comments
Closed

Same file opened on different path if a symlink exists one path #92679

reporter123 opened this issue Mar 14, 2020 · 2 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@reporter123
Copy link

  • VSCode Version:1.43.0
  • OS Version: Linux x64 5.3.0-generic

Steps to Reproduce:

  1. Create a main.cpp at /usr/local/src
  2. Symlink /usr/local/src to ~/src
  3. Open ~/src in vscode
  4. Open "main.cpp" via "Explorer" sidebar
  5. Set a breakpoint.
  6. Launch debugger.

The debugger will open a new copy of the file via its resolved absolute location /usr/local/src/main.cpp. The copy opened via "Explorer" uses a relative or unresolved path yielding
~/src/main.cpp.
I would expect the symlink to be resolved when checking to see if these are the same file.

Does this issue occur when all extensions are disabled?: No need a debugger to reproduce.

@gjsjohnmurray
Copy link
Contributor

/duplicate see #34627 (comment)

@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@reporter123 @gjsjohnmurray and others