[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-08-01 Thread Fred Sauer
On Fri, Jul 31, 2009 at 5:53 PM, Bruce Johnson wrote: > Isn't that already there, if you wire up the symbol maps correctly? > I was thinking of doing it client side (i.e. without the server side symbol maps). The `-style DETAILED` provides all the necessary information, although with minor trans

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Bruce Johnson
Isn't that already there, if you wire up the symbol maps correctly? On Fri, Jul 31, 2009 at 5:38 PM, Fred Sauer wrote: > Perhaps one of bobs tricks will involve taking the `-style DETAILED` > information which looks like this:at > Unknown.com_allen_1sauer_gwt_log_demo_client_InteractiveDemoP

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Fred Sauer
Perhaps one of bobs tricks will involve taking the `-style DETAILED` information which looks like this:at Unknown.com_allen_1sauer_gwt_log_demo_client_InteractiveDemoPanel$5_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V(InteractiveDemoPanel.java:135) and magically reverse transform it

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Fred Sauer
I can't wait! On Fri, Jul 31, 2009 at 4:58 PM, Bruce Johnson wrote: > 4 cheers for Bob! w00t, w00t, w00t and w00t. > Also, note that this is phase 1 in a larger plan. For Bob's next feat of > magic, he's going to provide better control over permutations, allowing you > to, say, include the (expe

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Bruce Johnson
4 cheers for Bob! w00t, w00t, w00t and w00t. Also, note that this is phase 1 in a larger plan. For Bob's next feat of magic, he's going to provide better control over permutations, allowing you to, say, include the (expensive) stack traces below for only a small percentage of users -- as well as al

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Ray Cromwell
On Fri, Jul 31, 2009 at 4:33 PM, Fred Sauer wrote: > > You get the following, which notably can be pasted into Eclipse's "Stack > Trace Console" view so that the filename:lineNumber pairs become clickable > hyperlinks: > > That's just awesome beyond belief. --~--~-~--~~~

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Fred Sauer
Indeed, Out of the box (-style OBF) you get: at Unknown.lG(Unknown Source:0) at Unknown.Ccb(Unknown Source:0) at Unknown.kD(Unknown Source:0) at Unknown.nK(Unknown Source:0) at Unknown.vO(Unknown Source:0) at Unknown.cP(Unknown Source:0) at Unknown.f_(Unknown Source:0)

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Ray Cromwell
The way you see this in Java bytecode that has been obfuscated and stripped of line number information is, IIRC at z.onClick_6(Unknown) typically you see these on commercial Java software that has thrown an exception. -Ray On Fri, Jul 31, 2009 at 3:48 PM, Bruce Johnson wrote: > I prefer "

[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'

2009-07-31 Thread Bruce Johnson
I prefer "Unknown" because it's an indication you are looking at suboptimal stack trace output. "JavaScript" makes it sound like we actually intend for you to be looking at that output, when in fact, you really want to use symbol maps to reverse lookup the Java idents. On Fri, Jul 31, 2009 at 2:42