Visual Studio C# Debugger AccessViolationException in VirtualBox

By | July 2, 2013

I have been struggling with a weird Visual Studio C# Express debugger  behavior. My application runs OK without the debugger. When started from VS it either throws an AccessViolationException without a meaningful stack trace or returns with code 0xc0000374. I’m running Windows 7 in VirtualBox, the host OS is Linux Mint 14. Finally I have found VirtualBox settings that fixed the issue for me:

  • System->Motherboard: Enable IO APIC + Enable absolute pointing device
  • System->Processor: Enable PAE/NX
  • System->Acceleration: Enable VT-x/AMD-V + Enable Nested Paging

Leave a Reply

Your email address will not be published.