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.

8 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
  5. It can be very challenging to switch free game debug Internet Explorer problems, particularly with older configurations. It's simpler to grasp how to resolve VS debugger attachment issues after reading your explanation.

    ReplyDelete
  6. UI Path learning provides comprehensive knowledge of automation technologies and enterprise workflow solutions. This ui path learning covers bot creation, workflow design, automation tools, and process optimization. Learners strengthen their expertise through real-world projects.

    ReplyDelete
  7. This is a really useful debugging tip for ASP.NET developers! The "VS debugger not attaching to IE" issue can be frustrating, and your solution is practical and clear. Debugging is one of the most essential skills for software developers, and having solutions to common problems saves valuable time. For developers working on web applications, understanding how to troubleshoot attachment issues is crucial. I've been exploring Generative AI and Agentic AI training with placement in Electronic City to understand modern development practices. Your blog provides a helpful solution to a common Visual Studio debugging problem. Thanks for sharing this troubleshooting guide!

    ReplyDelete

Please provide your valuable comments.