Error - The debugger's worker process (msvsmon.exe) unexpectedly exited.

Error - The debugger's worker process (msvsmon.exe) unexpectedly exited.

62BJW
Advocate Advocate
9,864 Views
4 Replies
Message 1 of 5

Error - The debugger's worker process (msvsmon.exe) unexpectedly exited.

62BJW
Advocate
Advocate

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

 

I'm getting this error ever time I debug. I started after I set the Target Framework to .NET framework 4.7. It happens when the code hits a break point. No break point, no error, unfortunately I need break points when debugging of course.

Anyone experienced this? Thanks!

0 Likes
Accepted solutions (1)
9,865 Views
4 Replies
Replies (4)
Message 2 of 5

62BJW
Advocate
Advocate
Accepted solution

Fixed it by unchecking "Use Managed Compatibility Mode"

 Tools->Options->Debugging->General->"Use Managed Compatibility Mode"

 

Message 3 of 5

Anonymous
Not applicable

didn't work for me

0 Likes
Message 4 of 5

62BJW
Advocate
Advocate

Sorry I'm out of ideas. Maybe repost so others can help?

0 Likes
Message 5 of 5

Anonymous
Not applicable

You've actually inspired me to do that. I was giving up on it already. Keeping fingers crossed. https://forums.autodesk.com/t5/revit-api-forum/quot-could-not-evaluate-expression-quot/m-p/8410505

0 Likes