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  :   12     Total  :    9291

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 January 15, 00:25
How To Enable Target Value And Actual Value In #D3 Gauge Chart

Twitter January 15, 00:24
How To Open #SharePoint List Hyperlink Column In Modal #Popup Window

Twitter January 15, 00:24
Quick Introduction To #Asp.NetCore And It’s Features

Twitter January 15, 00:22
How To Configure #PerformancePoint Services To Use Secure Store In #SharePoint 2013

Twitter January 15, 00:21
How To Block Or Disable #Office365 Services

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