How to Enable the Developer Dashboard in SharePoint 2010

10/20/2009

SharePoint 2010

When activated, the Developer Dashboard appears at the bottom of a page and allows site owners and up to view the call stack, database query times, exception information in error messages, and loading events for web parts during page rendering. All of these allow you to pinpoint the bottleneck within your page and to quickly focus on the resolution. The Developer Dashboard can be enabled via STSADM or PowerShell. This is one of the rare cases where the command in STSADM is shorter than PowerShell. The recommended property value is OnDemand, which provides you the ability to toggle the dashboard on and off.

STSADM

  • stsadm -o setproperty -pn developer-dashboard -pv on
  • stsadm -o setproperty -pn developer-dashboard -pv off
  • stsadm -o setproperty -pn developer-dashboard -pv OnDemand (recommended)

PowerShell

$svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
$ddsetting=$svc.DeveloperDashboardSettings
$ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
$ddsetting.Update()

An icon displays in the top right of the page when the Developer Dashboard is set to OnDemand — click this to toggle the dashboard on and off.

Example of the Developer Dashboard:

_____________________

Sponsors *Trusted SharePoint Ads Only!*

Packaged Enterprise Search
for SharePoint.View a quick online demo here! Surfray.com/Ontolica

Free Outlook Sidebar!
Access SharePoint from Outlook w/ harmon.ie Sidebar. Download Now!

SharePoint Migration Tools
Sharegate: No-Brainer Migration Tools for SharePoint. $375.

SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.

8 Tips to Increase SharePoint Adoption
Download Free Whitepaper

Advertisements

Subscribe

Subscribe to our RSS feed and social profiles to receive updates.

6 Comments on “How to Enable the Developer Dashboard in SharePoint 2010”

  1. Praveen Says:

    Nice,
    Find the detail notes on the developer dashboard in my point of view, this also may help.

    http://praveenbattula.blogspot.com/2010/05/developer-dashboard-in-sharepoint-2010.html

    thanks
    -Praveen

    Reply

  2. Rich Says:

    Thanks Adam! As expected, this works in 2013 as well!

    Reply

  3. Rich Says:

    Thanks Adam! As expected, this also works for 2013.

    Reply

Trackbacks/Pingbacks

  1. SharePoint 2010: Habilitando el Developer Dashboard (II)! - Blog del CIIN - 12/03/2009

    […] https://sptwentyten.wordpress.com/2009/10/20/how-to-enable-the-developer-dashboard/ […]

  2. SharePoint 2010: Habilitando el Developer Dashboard (II)! « Pasión por la tecnología… - 12/03/2009

    […] https://sptwentyten.wordpress.com/2009/10/20/how-to-enable-the-developer-dashboard/ […]

  3. My resource to learn on 70-573 « martinbodocky - 05/11/2011

    […] on Microsoft technologies, SharePoint, the Internet and other stuff that I find interesting… How to Enable the Developer Dashboard in SharePoint 2010 « SP2010 Blog Using SPMonitoredScope to monitor performance of your code – Corey Roth Blog featuring useful […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: