I need a little orientation regarding Google Chrome debugger.
My application works only in Google Chrome because of well HTML5 support.
How can you pause on every single error/exception detected?
The source of this question it’s the fact I’m doing a simple form submit with some Javascript validations.
On clicking the submit button I can see an error appearing in my Dev Tools Errors Frame, but it switch immediately to my PHP called on submit still in development, switching the page and therefore I can’t read the error.
I’ve tried setting breakpoints and I’ve clicked on that pause on exceptions button, but it’s not helping me, I’m doing something wrong.
I do not know completely how to use the debugger.
Have you considered trying to put a break point in a handler function for the window.onSubmit event?
Maybe something like this for jquery:
http://jsfiddle.net/7UZsk/27/
This is the actual DOM event reference:
https://developer.mozilla.org/en/DOM/window.onsubmit