Developer Dashboard in SharePoint 2010
The developer dashboard is the new feature addition to SPS 2010
diagnostics. The Developer dashboard provides detailed information such as
Generating load on the system, code that executed on the page,
query execution time, function by function level trace, WebPart load time
Developer Dashboard Modes
below are the modes in the Developer Dashboard:
1. On : Developer
Dashboard is viewable on all pages that use the default master page.
: Turns off the Developer Dashboard
3. OnDemand : OnDemand mode allows the
user to toggle the Dashboard on and off whenever required.
Dashboard is disabled by default. One can enable the Developer Dashboard with
the help of following methods.1. Using STSAFM.EXE
STSADM.exe -o setproperty -pn
developer-dashboard -pv OnDemand2. Using
Open SharePoint 2010 Management Shell
following script on the Sharepoint 2010 Management Shell.
$devdashboard.DisplayLevel = 'OnDemand';
The below figure depicts the
operation.3. Using Object
SPWebService service =
you successfully enabled the Developer Dashboard, you will see a toggle button
on the upper right corner of the page as shown below.
Since we have set the
property to OnDemand, toggle button can be use enable
disable the Developer Dashboard.
displaying the trace information, Query executed etc.
and call stack of the query executed.