Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to use Debugging

(0) ShareShare
ReportReport
Posted on by 3,077

Hi

  Is it possible to Debug Nav Code. Suppose i clicked on Post in Sales Invoice & want to  debug 

Thanks

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: How to use Debugging

    HI,

    Open Development Environment with Required Database and Go to Tools ->Debugger -> Debug Session and then click on Debug

    pastedimage1626096004890v1.png

    Add the breakpoint on Post Action (as per your document) and start debugging the posting routine-

    pastedimage1626096124238v3.png

  • Suggested answer
    JAngle Profile Picture
    63 on at
    RE: How to use Debugging

    Open the development environment. Choose tools and debugging. Debug session and a new window appears. Choose the user you want to debug or just debug the next error for any user logged in. Unless you have an error on that invoice you will need to set a break point. The page action is one of the first areas it will start from

    This is a nice guide: docs.microsoft.com/.../walkthrough--debugging-the-microsoft-dynamics-nav-windows-client

  • Suggested answer
    Bilal Haider Profile Picture
    232 on at
    RE: How to use Debugging

    You need to go to Development environment. Open the relevant database. Then go to Tools -> Debug -> Debug Session.

    There should be client running for this database. The clients that were running for this database will be shown. You can select and then use Debug action.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans