Tips, Tricks, and Fixes for when your computer doesn't do what it's told.

Thursday, September 1, 2011

VS2005 Debug Breakpoints Not Working in Javascript

If using Visual Studio 2005 and Internet Explorer 8, debugging breakpoints may not work for javascript. However it will work if the Attach to Process function (to internet explorer) is used, it will work. However this would need to be done for each debug session

This can be fixed by:

1) Open RegEdit
2) Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3) Add a dword under this key called TabProcGrowth
4) Set TabProcGrowth to 0

More information can be found at this thread:
http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/e2c795cd-b7a0-4fad-b7c9-b1ca40d7302e/

No comments: