开发者

How do you debug GWT apps?

As my GWT app gains complexity, it's nearly impossible to debug.

I am using Eclipse + Google plugin. Hosted mode is super slow and freezes, browsers are prompting that javascript is dead ... It takes impossibly long time to find bugs for me now ..

Is there some sort of workaround for debugging? Th开发者_运维百科anks


We split our projects into as small modules as possible, and we test them separatelly. Modules are splitted into smaller independent components. If we want to debug our component we attach it directly to the RootPanel and we use Dev mode.

If we need to debug our component in the module or in app we attach it to the RootPanel the whole module panel or project panel. If app is rather small we use Dev mode, but in bigger apps we compile it with 1 permutation and we deploy it into Tomcat.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜