AX – D365FO – How to use Trace parser as a debugger

Trace parser is a very important utility program that helps developers to debug an application.

It shows every SQL statement and every method called by applicatione followed by its call stack code

These are the instructions to starts Tracing an application

Go to the application you want to trace and before starts anything click on “Trace”

Give it a name such as test…. and click on “Start Trace”

Do whatever you want in you application and when finished click on “Stop Trace”

“Download Trace”

Save it where you want

Search “…parser…” into Windows menu and open Trace Parser

The first time you use it, you’ill be asked to create a new database. Just do it

After database creation import the trace log clicking on “Import trace”

………….Wait while importing………

In the “Select grouping” listview select the domani of the user you are logged into D365FO. In my case it’s

In “SQL” tab you can see every SQL statement and the method it was called from with the entire call stack code.

In X++ tab you can see every method used by application with its call stack. The are many other data analysis like the column “Count” that tells you how many times the method was called

In the “Call Tree” tab you can see all the methods used displayed in a tree view. The tree view shows the hierarchy of the methods and the link there is between them


Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo di

Stai commentando usando il tuo account Chiudi sessione /  Modifica )

Google photo

Stai commentando usando il tuo account Google. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...