You can specify if the debugger breaks on record changes. If the debugger is set to break on record changes, then it breaks before creating, modifying, or deleting a record. The following table shows each record change and the C/AL functions that cause each change.
Record change | C/AL functions |
---|---|
Create a new record |
|
Update an existing record |
MODIFY Function (Record), MODIFYALL Function (Record), RENAME Function (Record) |
Delete an existing record |
By default, the debugger is not set to break on record changes.
For more information about how to open the Debugger window, see Activating the Debugger.
To break on record changes
-
In the Debugger window, on the Home tab, in the Breakpoints group, choose Break Rules.
-
In the Debugger Break Rules window, select the Break On Record Changes check box, and then choose the OK button.