I'm running .NET 4, have Visual Studio 2012 and I compiled a program by csc with debug flag. However when I run mdbg I have an error: the debugger protocol is incompatible with debug object Exception HRESULT 0x8013134B. So, is mdbg incompatible with .NET 4.0 and there is another debugger?
Could it be a path issue. What version of MDBG are you running. If you runn it with no params it should spit out some version info.
MDbg (Managed debugger) v4.0.30319.1 (RTMRel.030319-0100) started.
Copyright (C) Microsoft Corporation. All rights reserved.
You are using an old version of MDbg, it can only work with the CLR v2.0.50727 debugger interfaces. Which were updated for CLR v4.0.30319, the CLR version for .NET 4.0 and .NET 4.5.
You can download it CLR Managed Debugger (mdbg) Sample 4.0
User contributions licensed under CC BY-SA 3.0