Open the Debugger window.

Use the Debugger window to debug Microsoft Dynamics NAV sessions. After you attach the debugger, program flow runs until it reaches a breakpoint or a break rule. When the program flow reaches the breakpoint or break rule, the debugger stops execution until there are instructions to continue.

In the Debugger window, you can:

Debugger Code Viewer

The Debugger Code Viewer displays the code at the point at which the debugger broke execution. In the code viewer, a yellow arrow in the margin identifies the current executing statement in the current function.

A green arrow in the margin identifies the current statement in the calling function. You view the code from the calling function by double-clicking an item in the Debugger Callstack FactBox.

A red dot in the margin identifies a breakpoint.

Debugger Watch Value FactBox

The Debugger Watch Value FactBox displays variables for which you have specified to add a watch. If the variable is in scope, then the Debugger Watch Value FactBox also displays the value of the variable.

Debugger Callstack FactBox

The Debugger Callstack FactBox displays the function calls that led to the current line of code.

Tip

See Also