Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Microsoft Dynamics NAV 2016

You're reading from   Mastering Microsoft Dynamics NAV 2016 The compilation of best skillset to harness Microsoft Dynamics NAV for Administrators, Consultants, and Developers

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786464309
Length 450 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
 Sah Sah
Author Profile Icon Sah
Sah
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Mastering Microsoft Dynamics NAV 2016
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Microsoft Dynamics NAV Installation FREE CHAPTER 2. Upgraded Features and Configuration in Dynamics NAV 2016 3. The C/AL and VB Programming 4. Testing and Debugging 5. Design and Development Considerations 6. Version Control and Code Management 7. Tuning Up the NAV System 8. Security in Dynamics NAV 2016 9. Upgrade and Migration 10. Interfacing NAV with Other Applications 11. Extending Dynamics NAV 2016 12. The Future of NAV

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images