I’m having an issue with debugging my Unity project where if I hit a breakpoint in MonoDevelop, Unity crashes with the following error:
This application has requested the Runtime to terminate it in an unusual way.*
It also doesn’t matter where the breakpoint is, Unity will crash if a breakpoint is hit in any script file. The game runs fine as long as a breakpoint is not hit.
Any help or advice would be greatly appreciated. Let me know if there are other details that I can provide to help diagnose my issue.
@Ant, since updating to Unity 3.5.0 and MonoDevelop 2.8.2 I really haven’t seen this issue. I also don’t debug in MonoDevelop quite as much, because after coming across this issue I started to rely more on Debug.Log rather than breakpoints. Of course, sometimes using breakpoints and stepping through code is just a lot easier and logging just won’t cut it. In these instances I’ve found MonoDevelop 2.8.2 to do the trick.
On a side note, I have found that inspecting certain object types (especially generic collections) in MonoDevelop 2.8.2 to be a bit clunky and unhelpful.