Reader small image

You're reading from  Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition

Product typeBook
Published inDec 2018
Publisher
ISBN-139781789133936
Edition4th Edition
Right arrow
Authors (2):
Roberto Stefanetti
Roberto Stefanetti
author image
Roberto Stefanetti

Roberto Stefanetti is a functional and technical consultant, who has worked on education and training for companies, partners, and clients. He currently works on Microsoft systems, especially ERP and related environments. He started working on Navision in 2004, both as a developer and as a functional consultant, and he is now more involved in consulting and managing projects than in development. He has been an MVP in business application since 2016 and a Microsoft Education Influencer since 2017. Roberto's blog is one of the most widely read in the world (with more than 1 million page visits). He has also published articles on many digital publications (such as MSDynamicsWorld, NAVUG Magazine, and others) and reviewed a number of books.
Read more about Roberto Stefanetti

Alex Chow
Alex Chow
author image
Alex Chow

Alex Chow has been working with Microsoft Dynamics NAV, formerly Navision, since 1999. His customers range from $2 million a year small enterprises to $500 million a year multinational corporations. With a background in implementing all functions and modules inside and outside of Microsoft Dynamics NAV, Alex has encountered and resolved the most practical through to the most complex requirements and business rules. He founded AP Commerce, Inc. in 2005, a full-service Dynamics NAV service center. Alex has also written the books Getting Started with Dynamics NAV 2013 Application Development and Implementing Dynamics NAV, Third Edition, both by Packt. He lives in southern California with his wife and two lovely daughters.
Read more about Alex Chow

View More author details
Right arrow

The art of debugging


By definition, debugging is a methodical process of finding and reducing the number of bugs in an application. Normally, the first step in debugging is to attempt to reproduce the problem. On some occasions, the input of the program may need to be simplified to make it easier to debug. Then, the debugger tool is used to examine the program stats (values of variables, call stacks, and so on) to track down the origin of the problem and finally fix it.

Debugging, however, can do so much more than just solving issues. It is a fantastic way to understand how an application works. You could just open the object involved, read the written code, and follow it up. However, this will be hard.

First of all, Microsoft Dynamics NAV code is run after an event occurs. If you take a look at an object, you will see code in the events, but it will be hard to know when an event occurs or which event is the one that first causes the code to be executed.

It will also be hard to just read the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition
Published in: Dec 2018Publisher: ISBN-13: 9781789133936

Authors (2)

author image
Roberto Stefanetti

Roberto Stefanetti is a functional and technical consultant, who has worked on education and training for companies, partners, and clients. He currently works on Microsoft systems, especially ERP and related environments. He started working on Navision in 2004, both as a developer and as a functional consultant, and he is now more involved in consulting and managing projects than in development. He has been an MVP in business application since 2016 and a Microsoft Education Influencer since 2017. Roberto's blog is one of the most widely read in the world (with more than 1 million page visits). He has also published articles on many digital publications (such as MSDynamicsWorld, NAVUG Magazine, and others) and reviewed a number of books.
Read more about Roberto Stefanetti

author image
Alex Chow

Alex Chow has been working with Microsoft Dynamics NAV, formerly Navision, since 1999. His customers range from $2 million a year small enterprises to $500 million a year multinational corporations. With a background in implementing all functions and modules inside and outside of Microsoft Dynamics NAV, Alex has encountered and resolved the most practical through to the most complex requirements and business rules. He founded AP Commerce, Inc. in 2005, a full-service Dynamics NAV service center. Alex has also written the books Getting Started with Dynamics NAV 2013 Application Development and Implementing Dynamics NAV, Third Edition, both by Packt. He lives in southern California with his wife and two lovely daughters.
Read more about Alex Chow