I just have a quick question, I am trying to verif...
# cfml-beginners
d
I just have a quick question, I am trying to verify the source of a variable from a template. the variable jumps through several templates and transformations before being output on the final template. How can I use CFtrace to trace the variable to its origin? the follow attribute seems to just dump the location where the trace tag is in. ideally I would like the log to show me the templates it jumps through as well as its origin. I also appreciate any other debugging tips! Much thanks! I am running my templates on a lucee server
a
Not sure it's exactly what yer expecting, but
callStackGet
(don't blame me, I don't name these things) might help here. https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-c-d/CallStackGet.html
👍 1
d
@Adam Cameron Thank you so much for the suggestion! I will give it a try when I have a chance. Currently the only way I figured out was to pull the template call stack from Lucee and running a primitive bash script on it!
👍 1