2022 June Release

DebuggingPermanent link for this heading

This chapter covers testing and debugging of controls.

JavaScript ErrorsPermanent link for this heading

JavaScript errors are caught to avoid affecting the entire client. The errors are logged in the web browser console.

By default, the JavaScript source code of a control is deployed in one minified file. You can use the URL parameter &cd=true to include the JavaScript source code as multiple, non-minified files.



Inspecting the ControlPermanent link for this heading

In some situations, it may be useful to be able to inspect the control in the web browser. Inspect the HTML of the control and look for the data-ctrl attribute. In this case, the value is “0_0”.

Now you can define the following watch expression based on the data-ctrl attribute: