We know that once we enable debug mode via “Ctrl+Alt+Shift+P”, this setting will be persisted: even if you turn off your laptop and launch the application tomorrow, the debug mode will still be there.
In Chrome development tool, there is an Application tab which records this setting via key value pair using Local Storage.
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:
相关推荐
Jerry 也是从 SAP UI5 菜鸟一路走过来,深知只有 ABAP 开发背景的开发者,向 SAP UI5 开发领域转型的不易,因此我在业余时间设计了这份适合 SAP UI5 初学者的学习教程,把开发一个完整的 SAP UI5 应用的流程,拆分成...
sap ui5表单例子,使用sap ui5创建表单
sap ui5通用组件例子,常用组件的使用例子
SAP UI5 文档SAP UI5 文档SAP UI5 文档SAP UI5 文档SAP UI5 文档
sap ui5表格例子,教你如何使用表格进行数据的显示和绑定
sap ui5工具栏例子,工具栏的交互,布局,使用
SAPUI5-Training
Getting Started with SAPUI5
讲解SAPUI5如何搭建,如何开发应用。 说明,文档为英文 内容如下: SAPUI5 Overview Runtime Resources Programming Applications SAPUI5 Developer Studio Creating a SAPUI5 Project Resource Handling / ...
SAP UI5入门级资料
SAP UI5 OVERVIEW 简单介绍UI5
SAPUI5 详细讲解
本篇为大家介绍SAPUI5开发环境配置步骤 以上安装完成之后,就可以进行SAPUI5的开发
本文档描述了如何搭建SAP Fiori应用程序的开发环境,应用程序开发语言为SAPUI5。
Tutorial to Develop a SAPUI5 Application with oData Access.sap ui5使用odata进行数据的交互
SAP官方UI框架,丰富的组件库,适用于混合型APP开发
SAP_UI5_Reference_for_SAP_HANA_en
SAP开发 将UI5程序打包成安卓APP的方法及详细的过程步骤
本文档描述了如何搭建SAP Fiori应用程序的开发环境,应用程序开发语言为SAPUI5。
SAPUI5/OpenUI5-扩展 描述 带有 SAPUI5/OpenUI5 附加组件的 Bower 组件。 用法 bower install sapui5-extensions --save-dev 在 sapui5 引导标记中注册 sap.extension 命名空间:示例: < script id =" sap-ui-...