Initializing help system before first use

Debug Method

Debugger entry point. This function is called by Mosel whenever execution of the model is interrupted. From there, breakpoints can be managed (XPRMModel.setBreakpoint(XPRMLocation), XPRMModel.clearBreakpoint(XPRMLocation), XPRMModel.clearAllBreakpoints()) and the model may be inspected (XPRMModel.findIdentifier(string), XPRMModel.setStackFrame(int)). The return value indicates whether execution should resume and when next interruption should happen.

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 0.0.0.0
Syntax
C#
XPRMLocation Debug(
	XPRMRunResult vmstat,
	XPRMLocation loc
)

Parameters

vmstat
Type:  MoselXPRMRunResult
Execution status. In this context the status may take value XPRMRunResult.RT_BREAK if interruption is due to a breakpoint and value XPRMRunResult.RT_NIFCT if the program was executing a native function when interruption occurred.
loc
Type:  MoselXPRMLocation
location in the model corresponding to the statement being executed (asynchronous interruption) or to be executed (breakpoint).

Return Value

Type:  XPRMLocation
The location where the execution should be stopped next or one of the following special values: XPRMLocation.DBG_CONTcontinue executionXPRMLocation.DBG_NEXTstop before the next statement skipping function callsXPRMLocation.DBG_STEPstop before next statement stepping into function callsXPRMLocation.DBG_STOPterminate execution
See Also

© 2001-2021 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.