Book Image

Microsoft Dynamics NAV Development Quick Start Guide

By : Alexander Drogin
Book Image

Microsoft Dynamics NAV Development Quick Start Guide

By: Alexander Drogin

Overview of this book

Microsoft Dynamics NAV is an enterprise resource planning (ERP) software suite for organizations. The system offers specialized functionality for manufacturing, distribution, government, retail, and other industries. This book gets you started with its integrated development environment for solving problems by customizing business processes. This book introduces the NAV development environment – C/SIDE. It gives an overview of the internal system language and the most essential development tools. The book will enable the reader to customize and extend NAV functionality with C/AL code, design a user interface through pages, create role centers, and build advanced reports in Microsoft Visual Studio. By the end of the book, you will have learned how to extend the NAV data model, how to write and debug custom code, and how to exchange data with external applications.
Table of Contents (10 chapters)

Activating the debugger

If you have ever developed code in a popular development environment, such as Microsoft Visual Studio, IntelliJ IDEA, Eclipse, or other similar IDEs, your first experience with the NAV debugger may seem unusual. Usually, a debugger starts within the same interface as the code editor and attaches to the application thread started from the same environment. In Dynamics NAV, the debugger is activated in two steps. First, start the session list in the code editor (choose the menu action Tools | Debugger | Debug Session). This action opens a window with a list of NAV client sessions currently running on the same computer. To start the debugger, choose the session you want to debug from the list and press Debug.

The next screenshot illustrates the debugger window:

Debugger window

If there are no running sessions, this button will be inactive. You can press...