Other events besides breakpoints can break code execution and activate the debugger. There are three types of these events, and break conditions for each type of event can be set up under Break Rules.
Mentioned break conditions include the following options:
- Break on error: Break execution when an error occurs. This can be caused by an exception (for example, division by zero or incorrect type cast), or by the explicit call of an error function (ERROR, FIELDERROR, TESTFIELD).
- Break on record changes: Break execution when a record is inserter, deleted, or modified.
- Skip Codeunit 1: Do not stop on events raised by Codeunit 1.
Codeunit 1 has been removed from the application in Dynamics NAV 2019, and the last option does not exist ...