DEBUGGER
From Lianjapedia
Revision as of 07:56, 11 December 2017 by Yvonne.milne (Talk | contribs)
Contents
Purpose
Opens the Debugger
Syntax
DEBUGGER
See Also
Description
If the DEBUGGER command is included in Lianja/VFP code (e.g. in a custom delegate) the Lianja/VFP Debugger will be activated when it is executed and undocked into its own floating window.
The debugger command is also supported in JavaScript code and will activate the JavaScript Debugger.
Example
//////////////////////////////////////////////////////////////// // Event delegate for 'interactivechange' event proc page1_section2_ItemCost_interactivechange() debugger updateTotal() endproc
or
//////////////////////////////////////////////////////////////// // Event delegate for 'click' event function page1_section2_field77_click() { debugger; if (m_orderdate.text.length == 0 && m_shipvia.text.length == 0) { messageBox("No order selection filter criteria has been specified.", "Order selection criteria"); return; } messageBox("You specified orderdate="+m_orderdate.text+", shipvia="+m_shipvia.text, "Order selection criteria"); }