Hi Philip,
> I'm writing a tool for my browser and editor to have any browser 
> errors automatically open and appear back in my editor. I was 
> originally using window.onerror but it appears that I may also have to 
> use try/catch(error).
>
> How do I hook in to Qooxdoo to be able to get at these errors? For 
> example, when a syntax/parse error occurs in my code, I never even see 
> the syntax/parse appear in the Qooxdoo log (however it does appear in 
> my browser's console log). Should I be seeing syntax errors in the 
> Qooxdoo log? How can I hook in to Qooxdoo's error capturing system to 
> be able to react to syntax/parse errors in my own way?
I think it is not possible to catch JavaScript syntax errors. Both, the 
onerroe event and "try..catch" statements, cannot catch syntax errors 
but only runtime errors in valid JavaScript files.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to