Book Image

Mastering Microsoft Dynamics NAV 2016

By : Rabindra Sah
Book Image

Mastering Microsoft Dynamics NAV 2016

By: Rabindra Sah

Overview of this book

The book begins by giving you a brief introduction to setting up your NAV environment and shows you how to install and configure it according to your requirements. You will then dive deep into the latest design patterns, network architecture, and topologies. We will show you how you can integrate NAV with the Microsoft platform, and secure your deployment by managing roles and permissions. Moving on, we will explain how to monitor and manage server instances using the Administration tool. We’ll discuss how you can take advantage of the expanded extensibility and connectivity capabilities for a tighter integration with the cloud as well as handheld devices. Then, we’ll show you how you can make use of the PowerBI capabilities that have been built into Dynamics NAV. By the end of the book, you will be confident in developing and administering a Dynamics NAV implementation that will leverage all of the new features.
Table of Contents (19 chapters)
Mastering Microsoft Dynamics NAV 2016
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Debugging using Visual Studio Debugger


In the last chapter, you saw how we can find the corresponding CS code of a C/AL code. Now we will move a step forward, and see how we can use Visual Studio Debugger to debug the C/AL code.

Let us see the steps that you need to follow in order to start debugging using Visual Studio Debugger.

Tip

Here I assume you have changed the settings mentioned in Chapter 3, The C/AL and VB Programming, and followed the steps under the Preprocessing into C# code section. Just make sure that the value of Enable Debugging is set to True.

  1. Open Visual Studio as an administrator.

  2. Make sure the service Microsoft.Dynamics.NAV.Server.exe is running.

  3. Now open the C Sharp (CS) file in visual studio, which is present at C:ProgramDataMicrosoftMicrosoft Dynamics NAV90ServerMicrosoftDynamicsNavServer$DynamicsNAV90sourcePage.

    Tip

    Since we are not following the conventional method to debug, we might use the CS file of the older version, Microsoft Dynamics NAV 2009, similar to the Preprocessing...