Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.51 KB

51D.md

File metadata and controls

24 lines (19 loc) · 1.51 KB

Internal Use

Enable debugging of NuGet packages

In order to debug into NuGet packages, you must be using packages that reference debug symbols. By default, this includes all alpha packages but not beta or final versions. If you have a debuggable package then you will need to configure Visual Studio to allow you to step into it:

  • In tools -> options -> debugging -> symbols, add the Azure DevOps symbol server: Visual Studio 2017 screenshot with symbol server added
  • Select the ‘Load only specified modules’ option at the bottom and configure it to only load Symbols for 51Degrees modules as shown below: Visual Studio 2017 configured to only load external symbols for 51Degrees libraries
  • In tools -> options -> debugging -> general, ensure that:
    • Enable Just My Code is off. Having this on will prevent VS stepping into any NuGet packages.
    • Enable source server support is on.
    • Example Source Link support is on. Visual Studio 2017 configured for debugging external packages

When stepping into a method from a relevant NuGet package, you should now see the following warning message: Visual Studio 2017 Source Link download warning