Enable the Developer Dashboard in SharePoint 2010
In SharePoint 2010 there is a new capability where developers can view page level tracing and performance data.
I will show you how to turn the developer dashboard on and turn it off.
Here is a quote from MSDN:
“The Developer Dashboard is an instrumentation framework introduced in Microsoft SharePoint Foundation 2010. Similar in concept to ASP.NET page tracing, it provides diagnostic information that can help a developer or system administrator troubleshoot problems with page components that would otherwise be very difficult to isolate. For example, a developer can easily introduce extra SPSite or SPWeb objects into his or her code unknowingly or add extraneous SQL Server queries.
In the past, the only way to debug performance problems caused by the extra overhead of these instances in code would be to attach a debugger to the code and monitor SQL Server Profiler traces. With the Developer Dashboard, a developer can identify this type of problem, either programmatically by using the object model or visually by looking at page output.
Ok, so how do you use the developer dashboard?
First you have to enable the dashboard using Powershell in your SharePoint 2010 environment.
There are two modes that you can interact with the developer dashboard.
1. On-demand, where an icon is visible in the upper right of the page
2. Turn-on, where the dashboard is visible on each page all the time.
| On-demand |
| On the SharePoint 2010 server open a SharePoint 2010 Management Shell window (Powershell) |
| Paste the following commands into the Powershell window. $service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService |
![]() |
| Verify the icon appears in the upper right of a SharePoint 2010 Page. |
![]() |
| When you click on the icon you should see information from the developer dashboard at the bottom area of your page. |
![]() |
——————————————————————————————————————————————————————————————————————————————————
| Turn-on |
| On the SharePoint 2010 server open a SharePoint 2010 Management Shell window (Powershell) |
| Paste the following commands into the Powershell window. $service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $addsetting =$service.DeveloperDashboardSettings $addsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On $addsetting.Update() |
![]() |
| Verify that on each page the icon does not appear. |
![]() |
| And verify that on each page the developer dashboard appears. |
![]() |





