SharePoint Pals
 | Sign In
How to use Developer dashboard in SharePoint 2010
by Sarath Babu Koneti 18 Dec 2013
SharePoint Consultant, Yes Labs Pty Ltd, Sydney
Today  :   3     Total  :    8744

Developer dashboard is a new feature in SharePoint 2010 which provides performance and tracing information that can be used in debugging & trouble shooting performance issues (slow loading of SharePoint pages) and view trace information.

If some of the SharePoint end users come to you and complain that the page they use in SharePoint loads slow then it’s time for you to view developer dashboard and find out the query time and code blocks which take much of the time.

Before SharePoint 2010 the only way to debug SharePoint is to attach a debugger process and proceed. ULS logs in one way but it has heaps of data which makes the life of a developer hard to look in to it.,


Developer dashboard can be displayed in 2 modes - On & OnDemand

On - If it is in ON mode, it is viewable in all the pages that use the default master page.

OnDemand - If it is in OnDemand mode , a small icon is displayed on the right top corner of the page.The user can toggle between ON & OFF.


By default Developer dashboard is disabled by default. TO switch it ON there are a few ways


 stsadm -o setproperty -pn developer-dashboard -pv OnDemand
 stsadm -o setproperty -propertyname developer-dashboard -propertyvalue OnDemand
 stsadm -o setproperty -pn developer-dashboard -pv On
 stsadm -o setproperty -propertyname developer-dashboard -propertyvalue On 
 stsadm -o setproperty -pn developer-dashboard -pv off
 stsadm -o setproperty -propertyname developer-dashboard -propertyvalue off

Power Shell:

“OnDemand” mode

 $ ddSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
 $ddSettings.DisplayLevel = “OnDemand”;
 $ddSettings.TraceEnabled = $true;

“On” mode

 $ddSettings = Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
 $ddSettings.DisplayLevel = “On”;
 $ddSettings.TraceEnabled = $true;

“Off” mode (Disabled)

 $ddSettings = Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
 $ddSettings.DisplayLevel = “Off”;
 $ddSettings.TraceEnabled = $true;

Object model code:

To turn it on demand

 SPWebService ConService = SPWebService.ContentService;
 ConService.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.OnDemand;

To turn it on

SPWebService ConService = SPWebService.ContentService;

ConService.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.On;


 SPWebService ConService = SPWebService.ContentService;
 ConService.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.On;

To turn it off

 SPWebService ConService = SPWebService.ContentService;
 ConService.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.Off;

The small green colour image on the right top corner shows the developer dash board has been enabled OnDemand. Clicking it opens a section at the bottom of the page.


Developer dashboard information

The page requests and the time taken are displayed on the left hand side. Also the below page can be used to track the slow loading pages, web parts and can be helpful in identifying the root cause analysis of the issue & resolving the same.


When we go and click SELECT link below in the database queries section


We get to know Query Text, Call Stack & IO Stats information





Happy Sharepointing!

Sarath Babu Koneti

SharePoint Consultant

Yes Labs Pty Ltd

blog comments powered by Disqus

SharePoint Pals

SharePoint Pals, a community portal for SharePoint developers, Administrators and End Users. Let's join hands and share the point together.
Read this on mobile


Angular Js Training In Chennai
Advanced Angular Js training with real world developer scenarios
Angular Js, Web Api and Ionic for .Net Developers
All in one client side application development for .Net developers
Angular Js For SharePoint Developers
Get ready for the future. Its no more just C#

Get Connected

SharePoint Resources

SharePoint 2013 and 2010 Web Parts
Free Web Parts with Source Code for SharePoint Community

SharePoint 2013 Books and Tutorials
Collection of free SharePoint 2013 books and tutorials (eBooks, pdfs)

Supported By

Contribute your article and be eligible for a one month Free Subscription for Plural Sight. The Author of the most popular New Article (published in the previous month) will be awarded with a Free One month Plural Sight Subscription. Article can be sent to in a word document.

Related Resources

Recent Tweets

Twitter October 23, 22:21
How to Add/Remove User Custom Actions (in Site Actions Menu) Programmatically using CSOM PNP in SharePoint -

Twitter October 21, 21:34
How to Add a JS Link Reference to the Display Form or Any other ASPX Programmatically using CSOM PNP in SharePoint -

Twitter October 20, 13:01
How to Add a JS Link Reference to the NewForm and EditForm Programmatically using CSOM PNP in SharePoint Office 365-

Twitter October 12, 12:15
How to Deploy Provider Hosted Apps (Add-Ins) by App Stapling in SharePoint Office 365 -

Twitter October 11, 13:39
How to Deploy Provider HostedApp programmatically using CSOM in SharePoint Office 365 Activating Developer Feature -

Follow us @SharePointPals
Note: For Customization and Configuration, CheckOutRecent Tweets Documentation