Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mattlevine/cb3dc0e585f55b0d3a50291af8ba26fa to your computer and use it in GitHub Desktop.
Save mattlevine/cb3dc0e585f55b0d3a50291af8ba26fa 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