Tuesday, May 28, 2013

Internet Explorer 10 breaks debugging with Visual Studio 2010

"Welcome to your new browser!"  Today, automatic updates installed the latest version of IE and I noticed that I got the following error when debugging from Visual Studio 2010:


After some research on the web, it looks like everyone gets this after installing IE 10.  The solution is to register the new IE10 debugger dll.  Apparently, this would happen if you installed Visual Studio after you installed your browser (which is normally what happens).  So use this command as an admin:
regsvr32 "%ProgramFiles%\Internet Explorer\msdbg2.dll"
If you are using a 64 bit box, then use the command prompt here:
C:\Windows\SysWOW64\cmd.exe
Otherwise, just use the standard command prompt.  Remember to run it as administrator.

No comments:

Post a Comment