Difference between revisions of "DEBUG"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | + | Opens the specified prg file in the Debugger in the App Inspector | |
− | + | ||
==Syntax== | ==Syntax== | ||
− | DEBUG < | + | DEBUG [<filename> [WITH <parameter-list>]] |
− | + | ||
==See Also== | ==See Also== | ||
− | [[ | + | [[:Category:Command_Window_CLI|Command Window (CLI)]], [[:Category:Console_Workspace|Console Workspace]], [[Debug Tab]], [[DEBUGGER]], [[DISPLAY CALLS]], [[DISPLAY MEMORY]], [[DISPLAY STATUS]], [[DO]], [[LIST CALLS]], [[QUIT]], [[SET COMPILE]], [[SET ERRORLOGGING]] |
− | + | ||
==Description== | ==Description== | ||
− | The DEBUG command | + | The DEBUG command opens the specified prg file <filename> in the [[Debug Tab|Lianja/VFP Debugger]] in the [[App Inspector]]. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | If the DEBUG command is included in Lianja/VFP code (e.g. in a custom delegate) the [[Debug Tab|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> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category:Error Handling | + | [[Category:Error Handling]] |
− | + |
Latest revision as of 13:21, 18 January 2018
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, Debug Tab, 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