web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

how to get X++ call stack

(0) ShareShare
ReportReport
Posted on by

Hello All,

I want to diagnose one of our process in UAT and identify the issue.

Is there anyway I can get all the object call stack for that process. For e.g. on Invoice posting, I want to see what different tables, classes and other objects are being called or used in stack wise manner?

Thank you

  • nunomaia Profile Picture
    27 Moderator on at

    Can't you simple connect Visual Studio to sandbox and add a break point to see current stack ?

  • André Arnaud de Calavon Profile Picture
    308,171 Super User 2026 Season 2 on at

    Hi JeffGreen,

    Like Nuno mentioned, you can use the debugger. You can also consider using the Trace parser to know what is being executed in detail.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi Jeff, In addition to above responses, here's the link to debug UAT in Devbox. If you just want to know the AOT objects used in a process, As Andre mentioned, it can be done using Trace parser (Collect Trace from UAT and import in SQL server in your Devbox)

    aristonjavier.wordpress.com/.../

  • Verified answer
    huijij Profile Picture
    19,813 on at

    Hi JeffGreenrc,

    As mentioned above, you can take traces by using Trace parser to consume traces and analyze performance in your deployment. You can also use the tool to visualize execution of X++ methods, as well as the execution call tree.

    learn.microsoft.com/.../trace-trace-tutorial

    learn.microsoft.com/.../trace-parser

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 232 Most Valuable Professional

#3
Aayush Tiwari Profile Picture

Aayush Tiwari 222

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans