List of questions
Related questions
Question 127 - Certified B2C Commerce Developer discussion
Refer to this example snippet of an ISML template:
<h2>Welcome back, ${pdict.username}.</h2>
The "pdict.username" variable does not print correctly when used in a similar template.
Assuming that the variable is correct in the Controller's "viewData", how should a developer temporarily modify their code to use a debugger and troubleshoot the issue in the template?
A.
Add an <isbreak> tag to have the debugger stop at the desired line.
B.
Add an <isscript> tag and JavaScript with a breakpoint set.
C.
Add a local <isinclude> tag to inspect the topLevel function in the call stack.
D.
Add an <isdebug> tag to allow the inspection of global variables.
Your answer:
0 comments
Sorted by
Leave a comment first