Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

how to use trace parser with real scenario

Posted on by 5,901

Dear All,

I am new in to trace parser. Can you please let me know step by step how to use and when used Trace Parser.

What is the advantage of Trace Parser?

Please give me more shed on this.

Thanks!

Arpan 

*This post is locked for comments

  • Suggested answer
    SaverioT Profile Picture
    SaverioT 328 on at
    RE: how to use trace parser with real scenario

    In D365 trace parser is more simple to configure, as you can see https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/perf-test/trace-parser ; in my tests I see sql call.

    Maybe you wrong session ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to use trace parser with real scenario

    Hi guys. I used Trace Parser a lot in AX 2012, but I am struggling with one point in D365:

    How can I enable tracing of the DB interactions (SQL statements)? In AX 2012 I remember there was a small from, I think under Tools, where you can tick what to trace and SQL was one of the tickboxes. I tried to trace a few things in D365 where thre is definitely some DB action going on, but it never appears in the trace parser (Database Time, Database Calls column is empty everywhere and also when I drill down into X++ where I expect SQL, there is nothing). Maybe I am also missing some settings in the parser itself.

    Thanks!

    Btw, Trace Parser is useful for several things. Performance is the most obvious one, but I often also use it for debugging or just to understand the flow of the process. For example I want to see which tables are hit when a certain function is used. Awesoem tool overall!

  • Chaitanya Golla Profile Picture
    Chaitanya Golla 17,225 on at
    RE: how to use trace parser with real scenario

    Hi,

    Sure....NP.

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: how to use trace parser with real scenario

    Thanks Chaitanya,

    I am going to practice on form which take mush time to open then collect the trace and if required i will share with you screen shot.

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    Chaitanya Golla 17,225 on at
    RE: how to use trace parser with real scenario

    Hi,

    Well there are many scenarios where tracer parser can be useful.One scenario would be like to know the reason why a specific business process is consuming more time than expected like Form is consuming more time to open or custom posting process is very slow. To trace a scenario, we start the trace, perform required business operation(exactly) ,stop the trace and collect it in tracer parser UI to analyze.  General recommendations are to keep the trace short & upto the scenario and only one user should loginto AX while performing an operation to avoid unwanted traces.

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: how to use trace parser with real scenario

    Thanks Chaitanya,

    Can you please give ma an simple real scenario then i came to understand how it's work.

    If you have please send me.

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    Chaitanya Golla 17,225 on at
    RE: how to use trace parser with real scenario

    Hi,

    Trace parser is a performance analyzing tool that helps to identify the performance bottlenecks such as long-running X++ methods(both custom & standard), time-consuming SQL queries and client-server calls. We have server and client trace that gets generated separately and can examine their behavior individually.

    Please refer following links:

    (Trace Parser - setup)
    community.dynamics.com/.../microsoft-dynamics-ax-2012-utilities-trace-parser

    (Tools for monitoring performance [AX 2012])
    technet.microsoft.com/.../jj149695.aspx

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans