Tuesday 14 May 2013

Detach a Process in Visual Studio and IE 10 javascript debug

Having an error after installing IE 10:
Attaching the Script debugger to process '[<ID>]' iexplore.exe' on machine '<computer name>' failed.  A debugger is already attached.

To detach this process:
  • Open the Processes windows (Debug, Windows, Processes)
  • Select the process (iexplore.exe with that ID), right click and select "Detach Process"

To fix the problem without detaching the process every time:
  • run the following in a command window: regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
  • make sure run the cmd prompt as an administrator


No comments:

Post a Comment