GWT 2.70 and emulated compiler stack mode

391 views
Skip to first unread message

James Bearden

unread,
Feb 26, 2015, 8:13:24 AM2/26/15
to google-we...@googlegroups.com
Hello,

My client application talks via JSON to a non-Java based server, and up until GWT 2.6.1 I was using the "emulated compiler stack mode" feature to generate a stack trace when the client had an exception and then submitted it via a JSON request to be logged on the server. Thankfully it doesn't happen very often, but when it does it is incredibly useful to have that stack trace. Unfortunately that feature doesn't appear to be working with GWT 2.7.1. Can anybody offer any advice as to how I can get it working, or what a viable alternative might be?


In my gwt.xml I had the following:

  <set-property name="compiler.stackMode" value="emulated" />
  <set-configuration-property name="compiler.emulatedStack.recordLineNumbers" value="true"/>
  <set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true"/>


TIA,

James

James Bearden

unread,
Feb 28, 2015, 9:20:36 AM2/28/15
to google-we...@googlegroups.com
Whoops, to be clear, it was working up to and including GWT 2.6.1, but has stopped working in GWT 2.7.0.

James

Jens

unread,
Feb 28, 2015, 9:49:54 AM2/28/15
to google-we...@googlegroups.com
What does "does not work anymore" mean? The exception does not have a stack trace? Or a wrong stack trace? Or you can't send it to the server anymore? Or something else?

Given that emulated stacks are generated by the GWT compiler it might be a regression bug, but you have to be more specific about what's wrong and then open an issue.


-- J.

Reply all
Reply to author
Forward
0 new messages