Which debugger use with .NET 4.0

2

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?

c#
asked on Stack Overflow Sep 17, 2013 by xdevel2000

2 Answers

3

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.
answered on Stack Overflow Sep 17, 2013 by Eoin Campbell
3

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

answered on Stack Overflow Sep 17, 2013 by Hans Passant • edited Sep 17, 2013 by LarsTech

User contributions licensed under CC BY-SA 3.0