@bob: Weren't you doing some work to produce map files automatically and get
back a clean stack trace on the server? Is that something available in
trunk?

On Wed, May 6, 2009 at 4:28 AM, Alex Epshteyn
<[email protected]>wrote:

>
> Hi Joel, thanks for the pointer!  StackTraceCreator looks pretty cool,
> but I don't think there's any overlap with my work.
>
> If I understand correctly, when you're running code compiled with OBF
> it would give you a trace with elements like abc(), def(), ghi().
>
> Here is what you get with my framework (actual output from an
> exception in an OBF'd app in running in web mode):
>
> java.lang.IllegalStateException: Should not reach this point
> StackTesterWidget.thirdMethod(StackTesterWidget.java:39)
> StackTesterWidget.secondMethod(StackTesterWidget.java:35)
> StackTesterWidget.firstMethod(StackTesterWidget.java:31)
> .onClick(StackTesterWidget.java:23)
>
> In my case this information doesn't come from the
> FF-Opera-etc-specific exception support.  It's maintained separately
> from the browser.
>
> Alex
>
>
> On Tue, May 5, 2009 at 11:39 PM, Joel Webber <[email protected]> wrote:
> > Alex,
> > Do check out com.google.gwt.core.client.impl.StackTraceCreator (in
> trunk).
> > If I'm understanding your proposal correctly, there may be a great deal
> of
> > overlap there.
> > Cheers,
> > joel.
> >
> > On Tue, May 5, 2009 at 6:47 PM, Alex Epshteyn <
> [email protected]>
> > wrote:
> >>
> >> > Are there any new developments on this front in the core GWT code?
> >>
> >> The reason I ask is to be sure that I'm not duplicating your efforts
> >> and wasting my time.
> >>
> >> On Tue, May 5, 2009 at 4:31 PM, Alex Epshteyn
> >> <[email protected]> wrote:
> >> > I have a working implementation which produces stack traces
> >> > representing the original Jave source code when Javascript exceptions
> >> > occur in web mode.   I plan to deploy this in production on my site,
> >> > typeracer.com in my next release.
> >> >
> >> > I'd like to polish up my implementation over the next few weeks,
> >> > measure performance, and present it at Google I/O at the end of the
> >> > month.
> >> >
> >> > We've talked about adding similar features to the GWT compiler in the
> >> > past on this forum, but my site couldn't wait (I was getting too many
> >> > cryptic exceptions logged from users), so I decided to go ahead and do
> >> > it my way.  I ended up doing it externally to GWT, without any changes
> >> > to the GWT compiler or any other code.
> >> >
> >> > Are there any new developments on this front in the core GWT code?
> >>
> >>
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to