Is it possible to debug GWT anymore?

喜你入骨 提交于 2020-01-13 05:29:33

问题


Is it just me, or is it even possible to run/debug a GWT application anymore?

A brand new install of the Google Plugin for Eclipse (Juno), create a new Web Application with GWT + GAE, run/debug. FAIL.

This is on a Mac, with Chrome, Firefox and Safari. The browser plugin is incompatible with Safari and Firefox, says it's compatible with Chrome but always asks to reinstall it.

Any ideas/tips?

-Shane

Update: Ok, so I went back to Firefox ESR 24 (https://www.mozilla.org/en-US/firefox/organizations/all/) and this worked. This will hold me over until GWT 2.7 releases.


回答1:


Browsers (all but IE) have removed the features needed for the GWT Dev Plugin. The way forward is "Super Dev Mode", which doesn't require a browser plugin, but also no longer uses the Java debugger (code is compiled to JavaScript "as fast as possible", and debugged using Source Maps in the browser's dev tools).

SuperDevMode is unfortunately not that simple to get started with: https://stackoverflow.com/a/18333050/116472

That being said, GWT 2.7 will soon be released and DevMode behavior changes to actually use SuperDevMode (and you can turn back to "classic" DevMode by passing -nosuperDevMode); so things will "magically" start to work again just by updating your GWT SDK.

Note: SuperDevMode also has the huge advantage compared to "classic" DevMode that it works in any browser, even mobile browsers!



来源:https://stackoverflow.com/questions/26354622/is-it-possible-to-debug-gwt-anymore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!