In FireFox if there's an error while running in the browser, GWT can print the javascript stack trace. Unfortunately, all the objects (except arrays and numbers) are printed as [object Object]. Apparently it would be possible to override the toString() method of the javascript native objects and call the toString() method of the object. This would require patching the Object class, or something along those lines.
Does anyone know if there's a clever way that I could convince GWT to set the native toString() method of the objects to something more useful? Such as calling the actual toString() method of the object? This would be VERY useful for me when debugging issues that turn up "in the wild" where I don't have access to hosted mode or good instructions on how to reproduce an issue. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
