debugging - How can I get break on runtime exception(or error) in javascript (or ecmascript?) -


how can break on error?

i have code:

throw new error("some error"); 

and i'm using recent version of web inspector (webkit) , firebug(mozilla). these tools catch , print error, not break. may don't know how to. please let me know how can these?

in webkit need click enable break on error. if click again break on warnings , clicking again disable it.

alt text http://a.yfrog.com/img832/3580/screenshot20100723at101.png


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -