VS 2005 does not debug web applications in IE8
January 25, 2010 Leave a comment
My current environment is Windows XP SP2 and Visual Studio 2005.
For the last few weeks I had not been able to debug my projects on the current machine which became frustrating.
Finally after some web searching I found the following snippet from Brad Sullivan, Program Manager, Visual Studio Debugger, MSFT : -
IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes.
http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie
Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process.
You can work around this by disabling the process growth feature of LCIE. Here’s how:
-
- Open RegEdit
- Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
- Add a dword under this key called TabProcGrowth
- Set TabProcGrowth to 0
Now that resolved the issue!!!!!