Friday, December 25, 2015

How to use Debugger in Microsoft Dynamics NAV 2009 R2 and old Versions of Classic Client

Debugger use microsoft Dynamics NAV and other older versions of Classic Client



Guidelines to use debugger in Microsoft Dynamics NAV 2009 R2 and old Versions of Classic Client :

Debugger is present in Microsoft Dynamics NAV Classic under“Tools” >> “Debugger”.
As you can see in screenshot below:


Tools option in Microsoft Dynamics NAV 2009 R2



There are three options present under “Debugger” options which are:

1. Active: It will activate the Debugger. Every time an error occurs you will be redirected to Classic client Debugger Session and it will show the source of error in the code. As you can see in screenshot below:

Active Debugger showing code break in Microsoft Dynamics NAV 2009 R2



2. Break point on Triggers: This functionality will work only if  ”Debugger” is active. If the breakpoints on trigger is active it will stop the current execution process on the point where you have marked breakpoints in code of particular trigger, Else the code will be executed normally. This is useful in understanding the flow of code through all triggers.




3. Code Coverage: The Code Coverage option allows you to check how much of the code is used by any given function. You can use this tool to capture code coverage during customization in Microsoft Dynamics NAV. This will provides you a list of objects in which you can find executed code in black colour text .

Code Coverage Tool in Microsoft Dynamics NAV 2009 R2



Enjoyed the topic, Please do subscribe to our newsletter to get updated with every post without a miss.



Thanks for reading,


Shubin Dongre

No comments:

Post a Comment