Skip to main content

Notifications

Microsoft Dynamics AX forum
Answered

Call stack is not tracing calling method in D365

Posted on by 1,048

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

  • 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 227,954 Super User 2024 Season 2 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,048 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,048 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,048 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 227,954 Super User 2024 Season 2 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,645 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

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,107 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,954 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans