Difference between revisions of "DEBUG"
From Lianjapedia
Barrymavin (Talk | contribs) (→Syntax) |
Yvonne.milne (Talk | contribs) |
||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[DISPLAY CALLS]], [[DISPLAY MEMORY]], [[DISPLAY STATUS]], [[DO]], [[LIST CALLS]], [[QUIT]], [[SET COMPILE]], [[SET ERRORLOGGING]] | + | [[:Category:Command_Window_CLI|Command Window (CLI)]], [[:Category:Console_Workspace|Console Workspace]], [[DEBUGGER]], [[DISPLAY CALLS]], [[DISPLAY MEMORY]], [[DISPLAY STATUS]], [[DO]], [[LIST CALLS]], [[QUIT]], [[SET COMPILE]], [[SET ERRORLOGGING]] |
==Description== | ==Description== | ||
− | The DEBUG command opens the specified prg file <filename> in the Debugger in the App Inspector | + | The DEBUG command opens the specified prg file <filename> in the [[:Category:Error_Handling#Lianja.2FVFP_Debugging|Lianja/VFP Debugger]] in the [[App Inspector]]. |
+ | |||
+ | If the DEBUG command is included in Lianja/VFP code (e.g. in a custom delegate) the [[:Category:Error_Handling#Lianja.2FVFP_Debugging|Lianja/VFP Debugger]] will be activated when it is executed. | ||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
+ | //////////////////////////////////////////////////////////////// | ||
+ | // Event delegate for 'interactivechange' event | ||
+ | proc page1_section2_ItemCost_interactivechange() | ||
+ | debug | ||
+ | updateTotal() | ||
+ | endproc | ||
+ | |||
+ | // or, from Lianja/VFP Command Window: | ||
debug main | debug main | ||
</code> | </code> |
Revision as of 07:42, 11 December 2017
Contents
Purpose
Opens the specified prg file in the Debugger in the App Inspector
Syntax
DEBUG [<filename> [WITH <parameter-list>]]
See Also
Command Window (CLI), Console Workspace, DEBUGGER, DISPLAY CALLS, DISPLAY MEMORY, DISPLAY STATUS, DO, LIST CALLS, QUIT, SET COMPILE, SET ERRORLOGGING
Description
The DEBUG command opens the specified prg file <filename> in the Lianja/VFP Debugger in the App Inspector.
If the DEBUG command is included in Lianja/VFP code (e.g. in a custom delegate) the Lianja/VFP Debugger will be activated when it is executed.
Example
//////////////////////////////////////////////////////////////// // Event delegate for 'interactivechange' event proc page1_section2_ItemCost_interactivechange() debug updateTotal() endproc // or, from Lianja/VFP Command Window: debug main