Debugger.Break() Method

Version: Available or changed with runtime version 1.0 until version 4.0 where it was deprecated.

Breaks code execution of a debugging session.

Syntax

[Ok := ]  Debugger.Break()

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

If you omit this optional return value and if the break is not set successfully, then a run-time error occurs. If you include the return value, then you must handle any errors.

Debugger Data Type
Get Started with AL
Developing Extensions