Difference between revisions of "Category:Error Handling"
Barrymavin (Talk | contribs) (→Additional Lianja/VFP Debugging Techniques) |
Barrymavin (Talk | contribs) (→The App Inspector) |
||
Line 6: | Line 6: | ||
Lianja App Builder is quite unique in that as you develop an App you are working directly on live data running live dynamically compiled code. This development paradigm encourages agile development and to assist you further, Lianja App Builder provides some very powerful graphical debugging tools for you to use. | Lianja App Builder is quite unique in that as you develop an App you are working directly on live data running live dynamically compiled code. This development paradigm encourages agile development and to assist you further, Lianja App Builder provides some very powerful graphical debugging tools for you to use. | ||
+ | |||
+ | ==Lianja/VFP Debugging== | ||
===The App Inspector=== | ===The App Inspector=== |
Revision as of 04:33, 11 December 2017
Under construction
Debugging is one of the most important skills for a developer. Software development is all about writing code, making mistakes, and fixing them.
Strong debugging skills minimize the development cycle by allowing developers to pinpoint bugs quicker, make fixes that actually address the problems encountered, and verify the modifications are correct. This is particularly important as the code gets more complex.
Lianja App Builder is quite unique in that as you develop an App you are working directly on live data running live dynamically compiled code. This development paradigm encourages agile development and to assist you further, Lianja App Builder provides some very powerful graphical debugging tools for you to use.
Contents
Lianja/VFP Debugging
The App Inspector
The App Inspector is your best friend during development as it provides a complete overview of your App.
Inside the App Inspector you will find the "Debug" tab containing the Lianja/VFP debugger.
You can double click this tab to detach it from the App Inspector into its own floating window.
The Lianja/VFP Debugger
To debug any of your LIanja/VFP code e.g. in a custom delegate, just add this command in the code where you want to break into the debugger:
debugger
This will activate the Lianja/VFP debugger and undock it from the App inspector. Just double click its title bar or close its window and it will be reduced into the App Inspector.
The JavaScript Debugger
To debug any of yourJavaScript code e.g. in a custom delegate, just add this command in your JavaScript custom delegate code where you want to break into the debugger:
debugger;
This will activate the JavaScript debugger. Just close its window when you are finished with it.
Additional JavaScript Debugging Techniques
Using DEBUGOUT
With SET DEBUGOUT ON, the DEBUGOUT command can be used to log text messages to the debug.txt file in the Lianja debug sub-directory. The DEBUGOUT command is ignored if SET DEBUGOUT is OFF.
Pages in category "Error Handling"
The following 37 pages are in this category, out of 37 total.
ABCDE |
E cont.LMORS |
S cont.T |