LeanSentry Diagnostics guide

Debug production hangs in Visual Studio

To debug production hangs in Visual Studio, follow these steps:

  1. Enable dump capture for Hang diagnostics.
  2. Locate a hang report and download the dump file.

Enable dump capture for Hang diagnostics

Select a website, go to the Hang diagnostics tab, and open the settings to enable dump capture. You can select whether you'd like to save the dumps locally on the server, or to upload them to LeanSentry so your developers can download them. Select "Upload dump" to upload the hang dumps to the LeanSentry dashboard, or "Save dump" to save dumps locally on the server where Hang diagnostics took place.

Locate a Hang diagnostic report and download the dump file

When a hang takes place after you have configured dump capture for it, you'll be able to download the associated dump for local debugging from the hang diagnostic report.

First, locate a recent hang diagnostic report. Be sure to select a report that was fully diagnosed, as evidenced by the purple quality star rating. Then, download the attached dump file.

NEW Debug dumps without symbols, sources, or DLLs

LeanSentry now provides the ability to set up your local dev environment for debugging production dumps even if you do not have matching sources, symbols, and DLLs. To learn more, see Debug production dumps without symbols, sources, and DLLs.





More resources


Cannot use SAAS monitoring / need an on-premise solution?

Talk to us about LeanSentry On-Premise.

Want to automate LeanSentry deployment in a cloud environment?

Read this.

Need expert assistance with an urgent performance issue?

Get an quick consultation from one of our performance engineers.