简体   繁体   English

在Eclipse中调试GWT

[英]Debugging GWT in Eclipse

Got an issue here. 在这里遇到了问题。 I've written a GWT script to alternate between two images which requires the 2 names in the URL. 我已经编写了一个GWT脚本,以在需要在URL中使用2个名称的两个图像之间交替。 This works fine when I compile and run on my PC, but when I try and run in debug mode in eclipse, I can't parse the name. 当我在PC上编译并运行时,此方法工作正常,但是当我尝试在Eclipse中以调试模式运行时,我无法解析名称。

Ie

http://intra.net/flick.html?pics=foo.png,bar.png http://intra.net/flick.html?pics=foo.png,bar.png

Works fine, whereas when I add to that to the URL eclipse gives me 工作正常,而当我添加到URL eclipse时

http://127.0.0.1:8888/flickbook.html?gwt.codesvr=127.0.0.1:9997&pics=foo.png,bar.png http://127.0.0.1:8888/flickbook.html?gwt.codesvr=127.0.0.1:9997&pics=foo.png,bar.png

It complains that pics is not defined. 它抱怨图片未定义。

Where do I add the arguments to the debug? 在哪里将参数添加到调试?

The URL is imho malformed. 网址格式错误。

You have a colon (a : ) between blockedcontent and 9997. 你有一个冒号(A : )blockedcontent和9997之间。

Why is eclipse generating the hosting page as flickbook instead of flick? 为什么eclipse会将托管页面生成为flickbook而不是flick?

Can you try with 你可以试试吗

http://127.0.0.1:8888/flick.html?gwt.codesvr=127.0.0.1:9997&pics=foo.png,bar.png

可与Google Chrome搭配使用,而Firefox不支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM