Thanks Thomas, I assumed that I would use that in my gwt.xml as follows:
-- <replace-with class="mysuperdevmode.class">
<when-type-is class="myusualclass.class">
<when-property-is name=superdevmode" value="true">
</replace-with>
but I get a compile error: Property 'superdevmode' not found
but I get a compile error: Property 'superdevmode' not found
Am I mistaken?
On Wednesday, June 18, 2014 10:27:25 AM UTC-4, AJ wrote:
I have just started using SDM in Chrome (see other threads) an it looks like GWT.isProdMode returns true.
Using eclipse (Kepler) onWindows 7I start the code server then start the app, either in debug or run mode.Then click the bookmark Dev Mode OnThen click the button Comple in the browser windowThen open the code in browser debugger and set a breakpointRefresh the app and the breakpoint hits, step into the isProdMode codepublic static boolean isProdMode() {// Replaced with "true" by GWT compiler.return false;}step out and look at the result ofboolean isProd = GWT.isProdMode()it == trueIs there something I am not doing that I should to make SDM know it is in dev mode?
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