AspNetCore.Docs/aspnet/webhooks/diagnostics/debugging.md

1.5 KiB

uid title author description ms.author ms.date ms.assetid uid
webhooks/diagnostics/debugging ASP.NET WebHooks debugging | Microsoft Docs rick-anderson How to debug ASP.NET WebHooks. aspnetcontent 01/17/2012 467da78b-3c35-4c51-8b08-77a32379e4a8 webhooks/diagnostics/debugging

ASP.NET WebHooks debugging

Debugging in Azure

To debug your Web Application while running in Azure, please see the tutorial Troubleshoot a web app in Azure App Service using Visual Studio.

Debugging with Source and Symbols

In addition to debugging your own code, it is possible to debug directly into Microsoft ASP.NET WebHooks, and in fact all of .NET. This works regardless of whether you debug locally or remotely. First, configure Visual Studio to find the source and symbols by going to Debug and then Options and Settings. Set the options like this:

Options and Settings

Then add a link to symbolsource.org for downloading the source and symbols. Go to the Symbols tab of the menu above and add the following as a symbol location:

http://srv.symbolsource.org/pdb/Public

In addition, make sure that the cache directory has a short name; otherwise the file names can get too long which will cause the symbols to not load. A sample path is:

C:\SymCache

The settings should look similar to this:

Options Symbol File Location Example