Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Call stack is not tracing calling method in D365

(0) ShareShare
ReportReport
Posted on by 1,044

Hi Expert,

When I trace the calling method in call stack every time its asking for me add .xpp file (source not found) as shown in the image. but if I directly put the breakpoint its opening, can anyone tell me what's the reason for this.

(in below screen: lets say when I double click on the sales line )

debugger.PNG

Thanks in Advance 

Guru

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Call stack is not tracing calling method in D365

    That fixed the problem. Many thanks!

  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    RE: Call stack is not tracing calling method in D365

    No, I meant opening a Visual Studio solution, not restarting Visual Studio.

    For example, open the last VS project (which is contained in a VS solution) that you worked with last time.

  • Verified answer
    Guruprasanna Profile Picture
    Guruprasanna 1,044 on at
    RE: Call stack is not tracing calling method in D365

    I referred this blog

    https://masudprogrammer.wordpress.com/2017/06/21/visual-studio-c-debugging-is-not-working/ and I opened the module window (Debug > windows >Modules) selected all and click on load symbols. After this whenever I double click on the stack trace that particular object is automatically added to the respective folder under the "C:\AOSService\PackagesLocalDirectory\Bin\XppSource\" path.

    Thank you

  • Guruprasanna Profile Picture
    Guruprasanna 1,044 on at
    RE: Call stack is not tracing calling method in D365

    And as i said if i consider sales Line as example the xpp file for sales line is under C:\AOSService\PackagesLocalDirectory\Bin\XppSource\Foundation\AxTable_SalesLine.xpp, if I manually select this file then debugger will go to the "salesLine" object. my question is why its not detecting respective xpp file automatically, and I have done the full build, am i missing any set up ?

    Thanks for help

    Guru

  • Guruprasanna Profile Picture
    Guruprasanna 1,044 on at
    RE: Call stack is not tracing calling method in D365

    Thanks for your response,

    Hi Sukrut,

    Load symbols only for the items in the solution is unchecked.

    Hi Martin,

    I tried by closing VS and reopened,  is this are u suggested? can you please describe more ..

    Thank you

    Guru

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    RE: Call stack is not tracing calling method in D365

    Open a Visual Studio solution (it doesn't matter which one) and try it again.

  • Sukrut Parab Profile Picture
    Sukrut Parab 71,671 Moderator on at
    RE: Call stack is not tracing calling method in D365

    Did you check if "Load symbols for elements belongs to Solution" check box is unchecked  in debugging options

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans