I’m trying to debug an error message in a large and complicated frames based web/ASP.Net app using IE8 and Visual Studio 2010. Specifically, I am getting a “Member not found” message box which appears to be a straightforward JavaScript alert(). Unfortunately I don’t know where in the code the problem is happening, and fiddler2 wasn’t much help in this case.
My question is, can I get IE to break at the alert() call so that I can debug it?
String search for “Member not found”
Add
1 / 0;before the line.Turn on break on all errors.
(I assumed you knew the developer tool existed. Hit F12 and navigate to the script tab)
Edit:
Thanks to @DmitriyNaumov