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

Not able to parse Project when its path contains a symlink folder #3

Open
llucenic opened this issue Feb 26, 2013 · 1 comment
Open

Comments

@llucenic
Copy link

If you have a D solution with a project that has a symlink folder in its path, the parser won't recognize the project correctly and sets its reference to null in this call:

var document = Ide.IdeApp.Workbench.OpenDocument();

document.Project is null now

Tested on Ubuntu 12.10 (I expect the same behaviour using mklink on Windows).

You can find the code in DGdbBacktrace.PrepareParser() method In MonoDevelop.Debugger.Gdb.D project (https://github.com/llucenic/MonoDevelop.Debugger.Gdb.D/blob/master/MonoDevelop.D/DGdbBacktrace.cs#L75)

@aBothe
Copy link
Owner

aBothe commented Mar 1, 2013

I just tested enlisting all the files in a directory that contains a symlink under Mint 13..and it also followed symlinks..but wait, you're talking about Projects here..uhm, well, I could imagine that it gets confused when having a document opened that resides in the symlink'd path but you try to open the file via its physical name..well, dunno how to handle this..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants