Ribbon Actions:

  • Continue: This continues processing until the next break.
  • Step Out: This is designed to complete the current function without stopping, and then break.
  • Step Over: This is designed to execute a function without stopping, then break.
  • Step Into: This is designed to trace into a function.
  • Break: This breaks at the next statement.
  • Stop: This stops the current activity but leaves the debugging session active.
  • Toggle: This sets or clears a breakpoint on the current line.
  • Set/Clear Condition: This sets or clears a conditional (based on C/AL expression) breakpoint at the current line.
  • Disable All: This disables all checkpoints in the attached session.
  • Break Rules: This displays the following screen:

The Break Rules options work as follows:

  • Break On Error default is on
    • If Break On Record Changes is on when a debug session is attached to an operating session, the debugging will start immediately
    • Skip Codeunit 1 default is on, allowing all the Codeunit 1 processing to normally be processed without tracing
  • Breakpoints: This displays a list of the active breakpoints and provides action options to enable, disable, or delete breakpoints individually or in total.
  • Variables: This displays the Debugger Variable List where we can examine the status of all variables that are in scope. Additional variables can be added to the Watch list here, as shown in the following screenshot:

Variables can be removed from the Watch list in the Debugger Watches page part

  • Last Error: This displays the last error message shown by the session being debugged.
Have you noticed the Duration field at the bottom of the Code pane? This displays the execution time between the previous breakpoint, or the starting of the debugger, and the current breakpoint.

There are quite a number of valuable Help sections on use of the Debugger, including these and many others:

  • Debugging
  • Debugger Keyboard Shortcuts
  • Breakpoints (this one is especially good)
  • Closing the Debugger
  • How to: Add Variables to the Watches FactBox
  • How to: Debug a Background Session
  • How to: Manage Breakpoints from the Development Environment
  • How to: Set Conditional Breakpoints
  • Walkthrough: Debugging the Microsoft Dynamics NAV Windows Client
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.40.53