Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Call stack is not tracing calling method in D365

(0) ShareShare
ReportReport
Posted on by 1,054

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
    on at
    RE: Call stack is not tracing calling method in D365

    That fixed the problem. Many thanks!

  • Martin Dráb Profile Picture
    233,254 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
    1,054 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
    1,054 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
    1,054 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
    233,254 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
    71,687 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 46

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans