The Step Into option
The Step Into execution starts with the first statement of the
OnInsert
trigger of the Bank Account
table. The yellow arrow (shown in the following screenshot) shows the line that is currently going to be executed:
If you press F11 (Step Into) repeatedly, you will see how each statement is executed. Four statements later we find a function call. The debugger then stops on the first statement of the InitSeries
function. A few statements later, we find a new function call, and the debugger goes to the first statement of the GetNextNo
function.
Using these options, the debugger stops on each and every single statement. If you keep on debugging this example, you will see that after pressing F11 a few hundred times and visiting numerous functions and triggers, the new bank account will get inserted.
For a person who wishes to learn the ins and outs of how to develop in Dynamics NAV, going through this process will give you a good sense of what code is run at what...