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

Announcements

No record found.

News and Announcements icon
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 845
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
    845 on at
    The process I always select is iisexpress.exe.
     
  • Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 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
    845 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,089 Super User 2026 Season 1 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
    845 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,208 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 439 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans