Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

How to debug NAV

Posted on by 5,124

Hello.  Is there any tool you can suggest so I can step through the Nav code?  I need to be able to debug or walk through the code of Nav secured codeunits such as codeunit 22.  I can't make any changes so it's hard when I can't even insert messages which is what I was doing to debug NAV.

Is there some type of VS studio step through code that I can purchase/download?

*This post is locked for comments

  • mbr Profile Picture
    mbr 5,124 on at
    RE: How to debug NAV

    Oh I see.  I don't have the SOlution builder.  'will certainly look into this. :)  Thank you Suresh as always.

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: How to debug NAV

    There are two type of NAV Developer License Application Builder and Solution Developer, if you have solution developer license then you will have the access to the write- protected tables.

    Application Builder:

    You use this granule to change the business rules and special calculations that work behind the scenes. These business rules and special calculations are defined in a language we call C/AL (C/SIDE Application Language). While Application Builder includes access to C/AL, it does not allow access to existing C/AL code that updates write-protected tables (postings for instance). Application Builder lets you create entirely new areas of functionality for your application, enabling you to tailor Microsoft Dynamics NAV to fit your entire organization. This tool also enables you to create 100 Codeunit objects (numbered from 50,000 to 50,099). The Application Builder granule enables you to take advantage of the functionality included for developers in the Navigation Pane Designer. This means, for example, that you can create new menu items.

    Solution Builder:

    You use this granule for the same purposes as the Application Builder granule, but it also gives you access to code that updates write-protected tables. This granule gives you the access necessary to change or create any object type, and gives you access to the Merge Tool and Upgrade Tool. This granule also enables you to use the menu options Translate/Export and Translate/Import in the Object Designer. These options are not available with the Application Builder granule.

  • mbr Profile Picture
    mbr 5,124 on at
    RE: How to debug NAV

    I have Nav Developer license - the app developer license.  is this different?  I can debug all other modules except the ones that write to item ledger entry.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: How to debug NAV

    You need to have NAV developer license, i don't think there is any alternative approach for it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans