Ranting and raving about anything I feel like complaining about.

Debugging Silverlight in IE8 (on Windows 7)

Silverlight Logo

I've recently moved to Windows 7 RC and I couldn't be happier. Its a great OS...but there is one annoying side effect.  The new IE8 auto recovery mode kills the session if the website becomes unresponsive.  Cool if you're on a dead site, but remarkable bad if you're trying to debug code.

IE8 Recovery 

I was looking for a workaround when Pascal Pare from Microsoft came to the rescue.  There is a registry setting that can enable/disable the feature. By default it is enabled.  The key is:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Recovery]
"AutoRecover"=dword:00000000

 

Setting the AutoRecover to "2" enables it (the default value) and setting it to "0" disables it.  Hope this helps!

 
 

Comments

Gravatar "The new IE8 auto recovery mode kills the session if the website becomes responsive."

That's actually a pretty good feature. There's nothing I hate more than a responsive website!
Gravatar Matt,

Of course its a good feature, but it gets in the way of development since IE8 thinks my debugging is killing the tab...so it stops it so I can't debug Silverlight (or JavaScript). This is for developers only...and you could make it a switch to turn on and off as necessary.
Gravatar no registry hack needed. Tools...Internet Options...Advanced tab -- 'Enable Automatic Crash Recovery'
Gravatar Matt was referring to the typo: should be "un"responsive. might as well not fix it for fun now :)
Gravatar Sanket,

Ah...missed that...fixed now.

Add a Comment

*
*
*