Thursday, February 26, 2015

GWT 2.70 and emulated compiler stack mode

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

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment