The Developer Dashboard is available with SharePoint 2010 and SharePoint 2013 which provides tracing 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.
The Developer Dashboard is always Off by default.
There are multiple ways to enable it - STSADM, Windows PowerShell, SharePoint Object Model.
[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
[ON MODE] (Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "On" [ONDEMAND MODE] (Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "OnDemand"
SPPerformanceMonitor pm = SPFarm.Local.PerformanceMonitor; pm.DeveloperDashboardLevel = SPPerformanceMonitoringLevel.On; pm.Update();
Code2care'smission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.