Visual Studio 2005 debugger does not work in IE 8!
Do you face debugger problem of Visual studio 2005 in IE 8? Yes, I faced problem. Few days, Debugger of Visual studio 2005 was not working in IE8 in my pc.
This is because IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes. Older version of VS debugger get confuse by this and cannot figure out how to attach to the correct process. To overcome this issue, you have to disable the process growth feature of LCIE.
To do this, just do the following steps:
- Run –> Regedit
- HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
- Add a dword under this key called TabProcGrowth
- Set TabProcGrowth to 0.
If you run into the same problem on Vista or newer, you will also need to turn off protected mode.
Or you can do the following from visual studio IDE
- Debug –> Attach to Process.
- select iexplorer.exe and click attach It tends to be either the aspnet_wp.exe (IIS 6.0, XP) or one of the W3WP.exe processe