Wednesday, June 26, 2013

VS debugger not getting attach to IE

Recently I had this weird error where Microsoft Visual Studio 2010 (VS 2010) debugger was not getting attached to Microsoft Internet Explorer (IE). The only change was that IE was upgraded from IE 9 to IE 10. Till before the upgrade everything was working fine. The error is pasted below.

Attaching the Script debugger to process '[XXXX] iexplore.exe' on machine 'XX-XX-XXX' failed. A debugger is already attached.

The solution for the above problem is pretty simple as well. Open the command prompt (cmd) in “Run as Admin” mode. Run the following command.

regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll”

“regsvr32” is a command line utility provided my Microsoft to register and unregister dlls in the Windows Registry.

5 comments:

  1. Hi,Nice i get the solution from the code above.

    Theosoft

    ReplyDelete
  2. Thanks for sharing this- good stuff! Keep up the great work, we look forward to reading more from you in the future!  

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Hi, It very nice content and uniqe feature. Thanks for your hard and dedicated work .
    Keep It up.If you know about the latest technologies please visit my site.

    learn about dot net and latest technologies.

    ReplyDelete

Please provide your valuable comments.