csharp-language-server-protocol icon indicating copy to clipboard operation
csharp-language-server-protocol copied to clipboard

SourceLink does not appear to be working

Open 333fred opened this issue 4 years ago • 3 comments

When attempting to debug https://github.com/OmniSharp/omnisharp-roslyn/releases/tag/v1.37.6 (which has 0.18.3 of the lsp implementation) SourceLink was not working. No symbols could be loaded.

333fred avatar Jan 24 '21 21:01 333fred

I'm not able to see any issues with it. The pdb's are embedded in the nuget, source link looks like it's on and working. (this at least on my local).

Symbols seem to be pushed to nuget as well I was able to download them from both https://www.nuget.org/packages/OmniSharp.Extensions.LanguageServer/0.18.3 and https://www.nuget.org/packages/OmniSharp.Extensions.LanguageServer/0.19.0-beta0004

david-driscoll avatar Jan 26 '21 04:01 david-driscoll

Are you sure it's loading from the dll, and not from some local source on your machine? I made sure that I had sourcelink enabled, but I'm still not seeing any symbols.

333fred avatar Jan 26 '21 17:01 333fred

I wasn't debugging anything at the time, just reviewing the source link configuration, to the best of my knowledge it's all configured. I'll try and do some debugging and step into to see if I can get it work or not.

david-driscoll avatar Jan 27 '21 04:01 david-driscoll