ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 127 - Certified B2C Commerce Developer discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Answers
D.
Add an <isdebug> tag to allow the inspection of global variables.
Suggested answer: C
asked 23/09/2024
Yasser Mohamed Mohamed
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first