Is it possible to debug GWT anymore?

2019-04-11 19:03发布

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条回答
贪生不怕死
2楼-- · 2019-04-11 19:25

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!

查看更多
登录 后发表回答