GWT在开发模式下很慢 [英] GWT is slow in Development Mode

查看:116
本文介绍了GWT在开发模式下很慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发模式下使用Eclipse Galileo和最新的GWT 2.0版本,但运行速度非常慢(我需要等待一分钟才能打开一个页面,但编译后,我的应用程序运行良好,当我运行它时Tomcat 5.5)。

我的代码不算太重,我猜是有一个操作系统相关或软件不一致的问题,因为我之前会遇到这个问题,但是当我重新安装Windows Vista SP2(我格式化了我的Windows驱动器并重新安装了它),我的问题已经解决了几天,然后又变得太慢了。



我没有在我的Windows机器上安装任何特殊的软件,所以我真的不知道为什么会出现这个问题。任何建议?

解决方案

如果它变得异常缓慢,但之前更快,而且您正在调试,那可能是因为您有一个断点在方法条目上设置。即使断点未被命中,这也会使事情变得非常缓慢。尝试清除您的断点。


I'm using Eclipse Galileo with latest GWT 2.0 version in development mode, but it runs really slow (I need to wait about a minute to open one page, but after compilation, my application works very well when I run it using Tomcat 5.5).

My code is not too heavy and I guess there is an OS-related or software inconsistency problem, because I'd this problem before, but when I reinstalled Windows Vista SP2 (I formatted my Windows drive and reinstalled it), my problem was resolved for a few days and then again it became too slow.

I didn't install any special software on my Windows machine, so I really don't know why this problem occurs. Any suggestion ?

解决方案

If it has become unusually slow, but was faster previously, and you are debugging, that might be because you have a breakpoint set on a method entry. This can make things extremely slow, even if the breakpoint is not hit. Try clearing your breakpoints.

这篇关于GWT在开发模式下很慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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