DEBUG

From Lianjapedia
Jump to: navigation, search

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