Debug template: functions call info. Where and what was called, which arguments received. Like ACF.

Description

Hi,

ACF has a good feature in debugging template, we can get list of executed functions with:
1) called from ... cfm-template
2) line from where it was called
3) definition, cfc file

Thanks.

Default ACF template:

modified ACF template:

Activity

Show:
Zac Spitzer
January 28, 2020, 4:02 PM

can you file a PR with your changes against the 5.3 branch?

Guardian
January 29, 2020, 7:27 AM
Edited

That modification was made in ACF template (just redesign), and I would like to see similar in Lucee.
”To view from where function was called”.

qEvents in ACF10 contains info : line form where the function was called, function arguments …

parent - cfm file.
template - contains info about function, arguments and cfc.

Zac Spitzer
January 29, 2020, 3:02 PM

you can modify the Lucee templates yourself too

https://dev.lucee.org/t/debugging-template/6447/4

Guardian
January 30, 2020, 10:42 AM
Edited

yes, but I can’t find in debug variables information that I need, such as: From where function was called. ACF debug contains it.

Assignee

Unassigned

Reporter

Guardian

Labels

None

Affects versions

Priority

New
Configure