Is there a JavaScript command that will cause the Visual Studio 2010 debugger to break?
Trying break(); didn’t work because it’s only valid within loops. Also stop(); failed because it picked up that stop() doesn’t exist and I didn’t have a useful stack trace.
Javascript has a
debuggerstatement, it woks in firebug, so it should in VS 2010 as well.