Debugger.BreakOnRecordChanges(Boolean) Method

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

Breaks execution before a change to a record occurs.

Syntax

[Ok := ]  Debugger.BreakOnRecordChanges(Ok: Boolean)

Parameters

Ok
 Type: Boolean
Specifies whether the debugger should break execution when a change to a record occurs. If Ok is true, then the debugger breaks before creating, updating, or deleting a record.

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