是否可以调试GWT了? [英] Is it possible to debug GWT anymore?

查看:127
本文介绍了是否可以调试GWT了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅仅是我,还是甚至可以运行/调试GWT应用程序?

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

全新安装的Google插件Eclipse(Juno) ,使用GWT + GAE创建一个新的Web应用程序,运行/调试。 FAIL。

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

这是一个Mac,Chrome,Firefox和Safari。浏览器插件与Safari和Firefox不兼容,称它与Chrome兼容,但总是要求重新安装。

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.

任何想法/提示?

-Shane

更新:好的,所以我回到Firefox ESR 24( https://www.mozilla.org/en-US/firefox/organizations/all/ )而且这样工作。这将阻止我,直到GWT 2.7发布。

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.

推荐答案

浏览器(除IE之外)已经删除了GWT Dev所需的功能插入。前进的方式是超级开发模式,它不需要浏览器插件,但也不再使用Java调试器(代码被编译成尽可能快的JavaScript,并在浏览器的开发工具中使用源地图进行调试)

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不是那么简单: https: //stackoverflow.com/a/18333050/116472

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

就是说,GWT 2.7将很快被发布,DevMode行为变化,实际上使用SuperDevMode(和通过传递 -nosuperDevMode ),可以转回经典DevMode;所以事情会通过更新你的GWT SDK神奇地开始工作。

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.

注意:与经典DevMode相比,SuperDevMode还具有巨大的优势任何浏览器,甚至移动浏览器!

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

这篇关于是否可以调试GWT了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆