it:ad:nuget:symbols

IT:AD:Deployment:NuGet:Symbols

The continuous build process I am using for the XAct Lib is publishing the compiled output to Nuget.org, while at the same time publishing the *.pdb files to SymbolSource.org

That means that once Visual Studio is configured as specified below, one can get a seamless debugging experience.

The configuration required is described here, but in essence is:

In Visual Studio > Tools > Options > Debugging > General
  Enable Just MyCode (Managed only)=OFF
  Enable .NET Framework source stepping=OFF
  ENable source server support=ON
In Visual Studio > Tools > Options > Debugging > Symbols
  add a new Symbol file (.pdb) location:
     http://srv.symbolsource.org/pdb/Public

Now F12 on a class that came from XActLib/

When I did this, was unable to sign into a remote SQLServer instance!

Original Settings

Go to Tools → Options → Debugger → General.

Uncheck “Enable Just My Code (Managed only)”.

ORIG: Checked

Uncheck “Enable .NET Framework source stepping”. Yes, it is misleading, but if you don't, then Visual Studio will ignore your custom server order (see further on).

ORIG:Checked  
Specs: 

Check “Enable source server support”.

ORIG: Unchecked

Uncheck “Require source files to exactly match the original version”

ORIG: Checked

Go to Tools → Options → Debugger → Symbols.

Select a folder for the local symbol/source cache.

ORIG:N/A

Add symbol servers under “Symbol file (.pdb) locations”. Pay attention to the correct order, because some servers may contain symbols for the same binaries: with or without sources. We recommend the following setup:

http://referencesource.microsoft.com/symbols (path from Visual Studio tab after you log in to this site)

ie: http://srv.symbolsource.org/pdb/Public/skysigal/5d863d42-4c40-4abd-a415-bc3456c46a3f

(other symbol servers with sources) http://msdl.microsoft.com/download/symbols (other symbol servers without sources)

Read this

http://blogs.msdn.com/b/camerons/archive/2011/04/01/debugging-series-symbol-server.aspx

  • /home/skysigal/public_html/data/pages/it/ad/nuget/symbols.txt
  • Last modified: 2023/11/04 03:28
  • by 127.0.0.1