barrymavin
2013-03-21, 00:02
To assist in debugging your apps i've added a new App Inspector in RC5.
This is toggled visible or hidden by clicking on the "Show/Hide App Inspector" button in the headerbar of the pagebuilder.
This displays a non-modal dialog on top of the page. When you switch into runtime mode, any events that are dispatched that have delegates or change any UI states are logged in the "Events" tab and any "Lianja.console('text')" calls that you place in your code are displayed in the "Output" tab (as opposed to the console output panel) so you can see exactly what is happening inside your app.
There is also a "Command" panel at the bottom of the App Inspector dialog that allows you the same level of functionality that you have in the "Console" workspace without having to switch back into development mode and then between workspaces. This allows you to inspect variables, the data environment and inspect/change visual elements using Lianja.getElementByID() while your App is in runtime mode.
This makes it much easier to track down hard to find bugs.
I will enhance this further in future releases.
This is toggled visible or hidden by clicking on the "Show/Hide App Inspector" button in the headerbar of the pagebuilder.
This displays a non-modal dialog on top of the page. When you switch into runtime mode, any events that are dispatched that have delegates or change any UI states are logged in the "Events" tab and any "Lianja.console('text')" calls that you place in your code are displayed in the "Output" tab (as opposed to the console output panel) so you can see exactly what is happening inside your app.
There is also a "Command" panel at the bottom of the App Inspector dialog that allows you the same level of functionality that you have in the "Console" workspace without having to switch back into development mode and then between workspaces. This allows you to inspect variables, the data environment and inspect/change visual elements using Lianja.getElementByID() while your App is in runtime mode.
This makes it much easier to track down hard to find bugs.
I will enhance this further in future releases.