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 :
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
    301,037 Super User 2025 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,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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans