Skip to content

Instantly share code, notes, and snippets.

@stevewithington
Created April 18, 2013 15:47
Show Gist options
  • Save stevewithington/5413803 to your computer and use it in GitHub Desktop.
Save stevewithington/5413803 to your computer and use it in GitHub Desktop.
Mura CMS : Create a Custom Trace Point. To view, login as an admin, then append your URL with ?showTrace=1. A Stack Trace with the duration and running total of milliseconds should appear in a list format. To disable, append your URL with ?showTrace=0
<!--- Place this either at the top of your file, or at the beginning of a block of code you wish to trace --->
<cfset myTracePoint = $.initTracePoint('yourFilenameOrOtherDescriptionToIdentifyThisTracePointGoesHere') />
<!--- file content or block of code goes here --->
<!--- Place this either at the bottom of your file, or at the end of a block of code you wish to trace --->
<cfset $.commitTracePoint(myTracePoint) />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment