Is it possible to set breakpoints and step through the source of the TinyCLR assemblies when my project references the NuGet packages?
I already have “Enable Just My Code” unchecked and the symbol servers I have are “Microsoft Symbol Servers” and “NuGet.org Symbol Server”, but breakpoints aren’t hit and I can’t step into the libraries.
I have done this type of debugging when I referenced the source code from Github, but it was all very messy compared to using the NuGet packages.
I believe when the NuGet package was created, the options to embed source and symbols must have been included in the project file. If these options were not present, you will not be able to step into the code of the package.
I don’t think symbols are being published to the public symbol servers. I think I recall opening an issue on that at some point. My practice has been to download and compile the libs locally when I need to debug into them. You need to point your project’s nuget paths to a local dir where you publish the packages instead of pointing at nuget.org. Be sure to clear the nuget caches and delete you bin and obj dirs. VS is pretty tenacious about caching stuff.