Skip to content

Debugging referenced NBB assemblies from target applications

fraliv13 edited this page Aug 19, 2021 · 2 revisions

The symbol files (pdb) are packaged in separate nuget symbol packages (*.snupkg). In order to use them for debugging you must use the nuget symbol server where they are published.

Additionally during debugging you can access the original source code files from github via SourceLink.

To use the Nuget.org symbol server:

  • In Visual Studio, open Tools > Options > Debugging > Symbols .
    1. Under Symbol file (.pdb) locations, select the checkbox for NuGet.org Symbol Server.
    2. (OPTIONAL) For performance reasons select Load only specified modules and enter NBB.*

To use source SourceLink:

  • In Visual studio open Tools > Options > Debugging > General
    • Ensure that Enable Source Link support is enabled

To debug NBB assemblies:

  • In Visual studio open Tools > Options > Debugging > General
    • Ensure that Enable Just My Code is disabled