web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

The problem with starting the debugger in Visual Studio 2022.

(4) ShareShare
ReportReport
Posted on by 843
Hello,
I haven’t had any issues with the debugger in Visual Studio 2022 until now. However, for the past few days, I’ve been unable to start it. The symbols load correctly, and it seems like the debugger is ready to run. However, after starting the process in D365, Visual Studio does not respond, almost as if it doesn't recognize the breakpoints. I haven't changed any settings since everything was working fine earlier.
Has anyone experienced something similar, or can someone suggest what might be causing this issue?
 
 
Thank you.
Categories:
I have the same question (0)
  • Shooowtek Profile Picture
    843 on at
    The process I always select is iisexpress.exe.
     
  • Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi,

    Are you sure this method should be caught by the debugger?

    put a break point on a method where are you sure it should be caught
  • Shooowtek Profile Picture
    843 on at
    I'm sure because I have done it many times on this breakpoint before. And suddenly it stopped working. Restarting the environment, Visual Studio, and IIS doesn't help...
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    Did you try to select only the packages that included on your code, that you are trying to debug it?
     
    From VS,  go to Extensions , Dynamics ,then Options.
     
    Troubleshooting in X++ : Enabling a debugger for model
     

    Thanks,

    Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue

  • Shooowtek Profile Picture
    843 on at
    Yes, everything that is necessary is selected. It worked fine before. I have no idea where the problem might be. I also cleared the cache and it's still the same.
  • Komi Siabi Profile Picture
    13,093 Most Valuable Professional on at
    Hi Shooowtek,
     
    One more I would try is to create a new project/solution but your startup object and run the debugger again.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 692 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 558 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 364 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans