msvsmon.exe crashed when debugging

后端 未结 18 853
难免孤独
难免孤独 2021-01-31 07:53

When I debugging in VS2013 update3, msvsmon.exe crashed when hit at a breakpoint.

It shows \"The debugger\'s worker process (msvsmon.exe) unexpectedly exited. Debugging

相关标签:
18条回答
  • 2021-01-31 08:29

    I was using the OzCode debugger extension. Unfortunately they don't have a way to completely disable the extension - you can only disable certain features - so I had to completely uninstall it to confirm it was what was contributing to the crashes.

    0 讨论(0)
  • 2021-01-31 08:31

    I got the same error. No effect after deleting all breakpoints and repairing Visual Studio (I have 2013 Community Edition). The problem was the Bitdefender software. I have Bitdefender Internet Security 2016 and had set Active Thread Control (Modules->Antivirus) to Normal level. But after setting this settings to Permissive the error doesn't show up anymore.

    0 讨论(0)
  • 2021-01-31 08:33

    Here's yet another answer: I changed my project from "Platform Target: Any CPU" to "Platform Target: x86". Went from needing about 5 attempts to debug to working every single time.

    I had previously tried every suggestion in this thread: I reinstalled, I killed all breakpoints, and looked for fishy software interactions.

    0 讨论(0)
  • 2021-01-31 08:33

    In my case i am using the wcf Service on the wpf application and inputting parameters from here.The Wpf Application Execution on Facing this error "The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted".

    That case i am hosing the Wcf service and run the wpf application exe
    In this type of Execution on I didn't Facing any Error like -- "The debugger's worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted"

    please,try this proceed error solved because some execution process didn't supporting the debugging..... we are removing the Debuggers on also we face same error. that case on helped this process.......

    0 讨论(0)
  • 2021-01-31 08:34

    I know it doesn't directly address the error, but as a workaround, I'm using the Rider IDE from JetBrains, and am not encountering the error (code, system, etc. the same).

    Visual Studio version: Professional 2017, 15.5.4
    Rider version: 2017.3

    None of the other answers worked for me, when I encountered this error. If you are not actually remotely debugging, you can use another editor until you figure out the problem or it resolves itself (the latter was the case for me).

    0 讨论(0)
  • 2021-01-31 08:35

    In my case, it was caused by a VPN software. It changed my hosts file and my localhost was not 127.0.0.1 anymore.

    So check your localhost in the hosts file (e. g. %WINDIR%\System32\drivers\etc\hosts) and make sure it is 127.0.0.1.

    0 讨论(0)
提交回复
热议问题