Difference between revisions of "DEBUG"

From Lianjapedia
Jump to: navigation, search
 
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[: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]]
+
[[: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 opens the specified prg file <filename> in the [[:Category:Error_Handling#Lianja.2FVFP_Debugging|Lianja/VFP Debugger]] in the [[App Inspector]].
+
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 [[:Category:Error_Handling#Lianja.2FVFP_Debugging|Lianja/VFP Debugger]] will be activated when it is executed.  
+
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==

Latest revision as of 13:21, 18 January 2018

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