Skip to main content

Notifications

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

  • 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
    95 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
    248 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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 953

#2
YUN ZHU Profile Picture

YUN ZHU 921 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 602

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans