简体   繁体   中英

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. 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.

Ie

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

Works fine, whereas when I add to that to the URL eclipse gives me

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.

Why is eclipse generating the hosting page as flickbook instead of 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不支持。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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