Hi All, I am interested in implementing Throwable getStackTrace() in the actual browser JavaScript. I realize it works in hosted mode when running in a actual JVM. Is this even possible since the auto generated JavaScript is so different from the Java or was it just not attempted? I do remember seeing the line number of JavaScript errors in IE and Firefox during the years when I used to write JavaScript by hand. Could the GWT compiler simply figure out where the Exception is getting thrown by looking for lines like;
new Exception(); And then put the line from the Java source code along with the class into the JavaScript I realize actually going up the stack would be difficult since it would require something like reflection/native jvm calls. But even one StackTraceElement might make GWT much more user friendly. Cheers, Scott --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
