Umbraco/Reference/Debugging

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Contents

[edit] Debugging

[edit] Getting trace data from umbraco

You can get a complete stack trace from umbraco, by appending "?umbDebugShowTrace=true" to the querystring. This include data on all actions inside umbraco from the initial request to the final response, including what page data has been loaded and what data has been sent to macro parameters.

[edit] Getting data sent to macro elements

You can get see a list of macro elements sent to an XSLT macro by appending "?umbDebug=true" to the querystring


[edit] Getting data sent to macro elements

You can get see a list of macro elements sent to an XSLT macro by appending "?umbDebug=true" to the querystring


[edit] Getting data sent to macro elements

You can get see a list of macro elements sent to an XSLT macro by appending "?umbDebug=true" to the querystring


[edit] Getting data sent to macro elements

You can get see a list of macro elements sent to an XSLT macro by appending "?umbDebug=true" to the querystring

[edit] Production systems

This feature cannot be turned off for production systems. If you wish to hide these details from your users, you may wish to employ a URL rewriting engine or a custom .net control to restrict debugging behaviour.

The following example is from ISAPI rewrite's http.ini:

RewriteRule  /.*umbDebugShowTrace.*$ /default.aspx
RewriteRule  /.*umbDebug.*$ /default.aspx
Personal tools
Create a book