AD0-E103 Exam QuestionsBrowse all questions from this exam

AD0-E103 Exam - Question 47


A developer creates a custom Client Library named foobar.

This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of these files, called foo.js, has a bug on line 8 which causes an exception. The Client Library is throwing this exception on line 1350 when it is included on a webpage.

How should a developer find the exact line in foo.js where the exception has been thrown?

Show Answer
Correct Answer: D

To identify the exact line in foo.js with the bug, a developer should add the query parameter debugClientLibs=true to the request and then use the browser's JavaScript debugging tools. By doing this, the browser will load unminified versions of the JavaScript files, making it easier to pinpoint the error directly within foo.js using the debugging tools.

Discussion

2 comments
Sign in to comment
Medo83Option: D
Dec 10, 2020

Correct answer is D.

chunpinOption: D
Jan 8, 2021

Answer: D Reference: https://helpx.adobe.com/experience-manager/kb/How-to-debug-javascript-errors-in-AEM.html