web
You’re offline. This is a read only version of the page.
close
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,099

Hi

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

Thanks

I have the same question (0)
  • Suggested answer
    Bilal Haider Profile Picture
    414 on at

    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.

  • Suggested answer
    JAngle Profile Picture
    133 on at

    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
    Community Member Profile Picture
    on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,577

#2
YUN ZHU Profile Picture

YUN ZHU 888 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 778 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans