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

I have the same question (0)
  • nunomaia Profile Picture
    25 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
    303,314 Super User 2026 Season 1 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,565 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,811 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 509 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans