- Make sure in IE6 under Tools > Internet Options > Advanced
Disable Script Debugging (Internet Explorer) and
Disable Script Debugging (Other) are unchecked - Open VS2005 with your solution
- Open IE6 and browse to your page the JavaScript is on
- In VS2005 Debug > Attach To Process
Click on Select... and make sure Script is checked
Select IEXPLORER.EXE (Title = Your page)
Click Attach - In VS2005 Debug > Windows > Script Explorer
You will see all debuggable JavaScript files - Put a breakpoint in your JS code for debugging
Your done!
Helpful links:
http://geekswithblogs.net/lazydeveloper/archive/2006/07/10/84552.aspx
http://msdn2.microsoft.com/en-us/library/k2h50zzs(VS.80).aspx
No comments:
Post a Comment