Forked from stevewithington/muraTracePointExample.cfm
Created
April 27, 2018 19:23
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- 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