SharePoint24x7 It's all about SharePoint.

5Jan/140

Article – Enabling Developer Dashboard in SharePoint 2013

The Developer Dashboard was introduced in SharePoint 2010. Objective was to show performance and tracing information for a SharePoint page. It was introduced as a control on the page itself (rather MasterPage). In SharePoint 2013, the Developer Dashboard has been improved a lot. Now it opens up in a separate dedicated window and no longer a control on the page (MasterPage). It also no longer just contains information about the last request but contains information about several requests. In this version of the Developer Dashboard, we can compare multiple page requests information.

This version of the Developer Dashboard is a lot more detailed than it was in SharePoint 2010. It gives a tabify output with lot more information related to the page request. Apart from the information we got in SharePoint 2010 Developer Dashboard, SharePoint 2013 Developer Dashboard will show:

  • Service calls
  • All ULS log entries that are related to the request
  • SQL requests and the time it took to process them
  • The different scopes and execution times

By default, the Developer Dashboard is disabled. You can enable it by using Windows PowerShell. The Windows PowerShell cmdlet only supports "On" and "Off" parameters. The "OnDemand" parameter has been deprecated. However, "On" parameter now pretty much acts the way "OnDemand" did in SharePoint 2010. Just like in SharePoint 2010, it displays an icon in the upper-right corner that allows you to open up the Developer Dashboard as when needed.

Following Windows PowerShell command shows how to enable SharePoint 2013 Developer Dashbiard:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction "SilentlyContinue"

$DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]:: ContentService.DeveloperDashboardSettings

$DevDashboardSettings.DisplayLevel = 'On'

$DevDashboardsettings.Update()

Posted by Joy