Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / The debugger's wor...
Finance forum

The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted in D365

Posted on by 932

Hi all,

i am debugging a form by adding breakpoints, once all symbols are loaded, i am getting the above error and exiting the debug process.

i tried debug->options->General

checked use managed compatibility code. but didnt worked.

how to resolve? please suggest.

  • deepakkb Profile Picture
    deepakkb 78 on at
    RE: The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted in D365

    At this point only solution I know is to close and start VS. 

    Hopefully MS is aware of this issue. 

    Thank you,

    Deepak.

  • RE: The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted in D365

    So how do you solve it?

  • SysC0mp Profile Picture
    SysC0mp 20 on at
    RE: The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted in D365

    Same problem for me, tested this on a couple of different versions up to 10.0.33

    If I delete all my breakpoints, the debugger is able to attach properly, but as soon as I set one again, it shows the error message.

    It costs so much time do deal with this as typically you have to restart Visual Studio and the web service to get this working again.

  • deepakkb Profile Picture
    deepakkb 78 on at
    RE: The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted in D365

    Hello Test bot,

    I am facing same issue on a VM deployed in PU51 version. This is happening on many VMs and not isolated issue. I have tried AOS to run on IIS, IISExpress or full build but still get this error. Did you find solution to your issue Or anyone else who faced this issue?  

    Regards,

    Deepak.

  • Suggested answer
    Lauras U Profile Picture
    Lauras U 955 on at
    RE: The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted in D365

    Had similar issue. Project Build, VS restart, model build did not help.

    Deleting all breakpoints helped. You can try export all the breakpoints and import them again

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted in D365

    Hi Test Bot,

    Create a new project and debug if there is the same problem? Or is there any way to debug your project on other machines?

    Suspicion may be your project file, and if so, it is recommended that you rebuild your solution.

    Please share more, thank you.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans