As usual we can still use debug to investigate what has happened when the checkbox "Use Debug Sources(reload)" is clicked.
In Chrome development tool Elements tab, click the small arrow icon to enter the element inspection mode, then click the checkbox, then its html source code will be automatically navigate.
Perform global search via keyword "useDbgSources", and then we can find the event handler onUseDbgSources for debug mode set:
Set a breakpoint on this function, then mark the checkbox in UI, breakpoint is triggered as expected:
Within the function, we can know the debugging flag is set via localStoage API: window.localStorage.setItem
This API will change the following file in my laptop:
If I open the changed file via some SQLite management tool, I can find the corresponding entry with key sap-ui-debug and value 'X' set:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
36 | |
25 | |
17 | |
13 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 |