How do you disable the MDA tool!

Hi all,

I've been facing the same issue as everybody regarding the MDA debuging message. I just read the following post:

This is a bug in the MDA. The timmer keeps running even if the debugger is stopped. The fix would have been to only run the timer when the application is running but that fix didn't make it into the product. This makes the MDA very noisy. This should have ment that the MDA should have been disabled by default in the VS exception dialog but that change also didn't make it into V2.0. The whole issue was discovered too late. So the work around is to simply open up the VS exception dialog and disable that MDA.

I cannot disable the MDA in my VSTS using Debug > Exceptions, the flag is ready only. I read another post saying that we need to create a new Reg file in the
HKEY_LOCAL_Machine\Software\Microsoft\.NetFramework

called MDAEnable and with "MDA"="0". But I cannot access this reg file.

Does anybody know where to actually execute this file from the cmd

Thanks.

B




Answer this question

How do you disable the MDA tool!

  • Wolfen

    Bertrand,

    Looks like you want to disable MDAs. See this msdn arcticle that provides detailed steps. It provides several ways to do this e.g use the registry or environment variable etc

    http://msdn2.microsoft.com/en-us/library/d21c150d.aspx

    You can create the .reg file and simply run it from cmdline or explorer and it will add the necessary entries to registry.

    Azeem Khan

    VS Debugger.


  • How do you disable the MDA tool!