Visual Studio (VS) supports debugging with symbol files and the feature has to be enabled. It is not enabled by default. Resharper also supports debuging with symbol files. However, the process of downloading the files has proven to be frustrating and unreliable. There are at least 4 major issues we’ve identified when trying to download symbols and source files with Visual Studio and they all require restarting Visual Studio.
- VS will stop trying to download symbols if it has already tried once and failed.
- VS will hange trying to download the .pdb file and never ask for the .pd_ file which is what https://nuget.smbsrc.net actually serves.
- VS will not try to load symbols immediately after a new package is added.
- VS will tell you the symbols are not available even though it prints a valid uri to output log, and the uri can be downloaded without issue in a browser and postman.
To solve these problems, SymbolDownloader downloads .pdb, .pd_ files, and all associated source files for a nuget package independently of Visual Studio.