Click or drag to resize

AltD Function (Long)

X#
Programmatically define a breakpoint in an application.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 FUNCTION AltD(
	nMode AS LONG
) AS VOID
Request Example View Source

Parameters

nMode
Type: Long
This parameter is ignored in X#
Remarks
AltD() is operational only if the application is being executed by the Debugger.
Remarks
This function is inlined by the compiler, but is included so it can be used in Macros as well.
Examples
This example shows how to define a breakpoint in a function using AltD():
X#
1FUNCTION Bad()
2    ...
3    AltD()            // Programmatic breakpoint
4    ...
5    RETURN Value
See Also