How to enable disable SharePoint Developer Dashboard for tracing troubleshooting

SharePoint - Developer Dashboard

The Developer Dashboard is available with SharePoint 2010 and SharePoint 2013 which provides tracking information to the developers and administrators for debugging and troubleshooting issues with page and its components, usually to check the rendering time.

Developers can identify what type of problem by looking at the traces found on the page itself. The performance issues and resource usage information is also available in Unified Logging Service (ULS) logs but understanding the raw data takes time and is not easy. But Developer Dashboard information is correlated making identifying issues much easier.

Information included
  1. Thread execution time
  2. Number, duration, call stack information and query text of each SQL Server query generated by the page
  3. Number, duration, and call stack information of each WCF call
  4. URL or timer job name
  5. Current user
  6. Execution start time
  7. Any of the preceding statistics for code enclosed by SPMonitoredScope
Dashboard Modes
  1. On - Dashboard is viewable on all pages that use the default master page
  2. OnDemand - Dashboard icon is displayed on the top right side of the page allowing users to toggle the Dashboard on and off

How to enable-disable Dashboard
  1. The Developer Dashboard is always Off by default.
  2. There are multiple ways to enable it - STSADM, Windows PowerShell, SharePoint Object Model.

STSADM- Enable/Disable Developer Dashboard

[ON MODE] stsadm -o setproperty -pn developer-dashboard -pv on

[ONDEMAND MODE] stsadm -o setproperty -pn developer-dashboard -pv ondemand

[DISABLE] stsadm -o setproperty -pn developer-dashboard -pv off

POWERSHELL - Enable/Disable Developer Dashboard

[ON MODE] (Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "On"

[ONDEMAND MODE] (Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "OnDemand"

SHAREPOINT CODE - Enable/Disable Developer Dashboard
SPPerformanceMonitor pm = SPFarm.Local.PerformanceMonitor;
pm.DeveloperDashboardLevel = SPPerformanceMonitoringLevel.On;
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -