Friday, February 13, 2015

Unable to get SDM to use detailed mode for showing stacktraces

So I have the following set in my module.gwt.xml:

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


I also have :
<style>DETAILED</style>


set in pom.xml in the config of the maven plugin.

But still, in sdm, when an error happens, the stacktrace I get is obfuscated:

 com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'setValidationState_0_g$' of undefined
Unknown.pY_g$(Module-0.js@19:15103)
Unknown.lY_g$(Module-0.js@8:15058)
...

Its strange because the other configuration settings that I set in pom.xml, such as launcherDir, do take effect.

I have also tried passing in -Dgwt.style=DETAILED as a jvm argument, but it has no effect either. I'm using mvn gwt:run-codeserver for running SDM.

Am I doing anything wrong?

--
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