Notes | for more details | debug reference |
OpenLaszlo provides a powerful debugger to identify and solve problems in your application. This example illustrates four different ways you can use the debugger:
Debug.format()
in the onclick
event handler of the button.Debug.format
is clickable. If
you click on it, the debugger will inspect the object. Any value the debugger
prints in blue is
inspectable.myButton.width
in the input field at the
bottom of the debugger window, and then press enter: the width of the button is
displayed in the debugger's main window.logo.setAttribute("visible",true)
in the debugger's input field and press
enter: the logo now appears in the running application. Notice how the debug
attribute of the <canvas>
tag is used to turn on the debugger.