Enabling the Developer Dashboard in SharePoint 2010

Video length: 2:06

Video description: This video walks through enabling and disabling the Developer Dashboard in SharePoint 2010.

Documented video steps below:

First a couple comments around the Developer Dashboard:

  • The developer dashboard is a new feature in SharePoint 2010 that is designed to provide additional performance and tracing information that can be used for debuging and troubleshooting page rendering issues.
  • It provides information about the controls, queries, and execution times that occur as part of the page rendering process.

To Enable the Developer Dashboard in SharePoint 2010:

  • Launch SharePoint 2010 Management Shell
  • Type in the folloowing script to enable the Developer Dashboard in OnDemand mode
$svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
$ddsetting=$svc.DeveloperDashboardSettings
$ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
$ddsetting.Update()
  • Switch to a SharePoint site and click on the small icon in the top right next to your login name
  • Observe the information that is available on the page. Assuming this was the first time you load the site, refresh the site and observe how the developer dasbhoard metrics differs the next time you load the page.

  • Type in the following script to disable the Developer Dashboard
 $svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
$ddsetting=$svc.DeveloperDashboardSettings
$ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::off
$ddsetting.Update()

Leave a Comment