The core SDK file provides the following APIs:
The latest gs5.js and its minified version can be downloaded from the following URLs:
The IDE auto-generated file contains definations of:
It is based on gs5.js and provides the following APIs:
The latest shield.js and its minified version can be downloaded from the following URLs:
To use the SDK api in a HTML page, please add the following lines to your HTML source:
To enable UI debugging, you must explicitly turn on the feature as following:
IDE main menu => Edit => UI Options:
If you want to edit UI files during debugging, you must disable the "Wrap UI Pages" option; Normally if UI pages are not wrapped, for security reason the Integrity Protection is automatically turned on to make sure the UI files are not modified by users, however, if the "Enable UI Debug" option is turned on, the Integrity Protection is turned off so that you can edit these UI files in wrapped app during UI debugging.
Once the UI debugging is enabled, there are several facilities to help your debug task:
When app launching, right click mouse will pop-up a context menu with Inspector menu item:
Output debug message at run-time:
The message is displayed in the console of Inspector.
On Windows platform, you can also use the DebugView Utility:
Note that the message is not dumpped to debug log file, to log debug message please refer to Output Debug Message.