public
Description:
Home | Edit | New

FirefoxErrorHandling

In Firefox 3.1 and 3.2 alphas, user / developer generated errors do not have a stack trace present. Thus instead of directing throwing an error, all internal errors call ActiveSupport.throwError(). You can set ActiveSupport.throwErrors = false to prevent the error from being thrown. In this case the error will be logged to the console and your code will likely fail from an internal problem, which will likely result in a stack trace you can use.

This is not a sane or desirable solution, but is the only way to get stack traces out of Firefox 3.x for the moment. Consider commenting on or escalating this bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=465672

Last edited by syntacticx, Mon Jan 26 11:55:14 -0800 2009
Home | Edit | New
Versions: