Written by Simon Justesen   
All umbraco versions

How-to
How to debug your user controls

Chapters

Debugging your Umbraco usercontrols

If your newly built usercontrol fails to work, you have several options to debug your control:

If you add ?umbDebugShowTrace=true to the URL, you'll be able to see a complete stack trace, showing all parts of the communication between Umbraco and your usercontrol. The actual error(s) is marked with red.

You can also see the elements being passed to a macro by appending
?umbDebug=true to the URL in your browser

(The techniques in this tip was originally described by Niels Hartvig at the old website)

RSS Feed for Documentation RSS Feed for docs (syndicate)

  • Latest forum posts

Brilliant umbraco hosting provided by FAB-IT