Re: Cannot run debug mode in client code

2012-02-26 Thread Alan Chaney
On 2/25/2012 10:08 PM, tong123123 wrote: Really strange, I try to simulate the problem in home pc (I am not in office), my debug configuraiton arguments is -startupUrl 127.0.0.1:7001/DesignerFirstTrial/ -noserver -remoteUI "$ {gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO - codeServerPo

Re: Cannot run debug mode in client code

2012-02-25 Thread tong123123
sorry, I miss the http:// in the startupUrl, after adding it, the debug mode can run. But my eclipse (OEPE- Oracle Enterprise Pack for Eclipse) is very strange, if I right click the project and select Debug as > Web application (running on external server), it will create a new debug configuration

Re: Cannot run debug mode in client code

2012-02-25 Thread tong123123
Really strange, I try to simulate the problem in home pc (I am not in office), my debug configuraiton arguments is -startupUrl 127.0.0.1:7001/DesignerFirstTrial/ -noserver -remoteUI "$ {gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO - codeServerPort 9997 -war C:\workspace\workspace1\Design

Re: Cannot run debug mode in client code

2012-02-24 Thread Joseph Lust
I actually use this feature all the time. Use Case: Production throws an error in the UI, but we don't know why. Ok, let's debug. 1. Set eclipse to use the remote URL [url parameter in above reply] (i.e. pull the RPC requests through that Prod site). 2. Checkout the exact version that is built f

Re: Cannot run debug mode in client code

2012-02-24 Thread Thomas Broyer
DevMode takes the -startupUrl parameters (you can have more than one actually), adds the appropriate ?gwt.codesvr and shows you the URLs so you can easily open them in your browser. So if you need to open /ALS/ in your browser to run the app (in prod mode), then pass http://.../ALS/ to the -sta

Re: Cannot run debug mode in client code

2012-02-24 Thread tong123123
On Feb 24, 5:57 pm, Thomas Broyer wrote: > Why is your -startupUrl ending in /ALS.html if the correct URL actually is > /ALS/ ? I have not the pc in front of me now, but I remember, ALS is the project name and Als.html is the project only One HTML, in Ie, if I enter /als/ , it will automatical

Re: Cannot run debug mode in client code

2012-02-24 Thread Thomas Broyer
Why is your -startupUrl ending in /ALS.html if the correct URL actually is /ALS/ ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gCfm0X8RNYMJ

Cannot run debug mode in client code

2012-02-24 Thread tong123123
I can set breakpoint in server side code but cannot debug in client side code, my run/debug configuration, Arguments tab > Program arguments is as follow: Run/Debug Settings -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl http://127.0.0.1:7001/ALS.html -logLevel INFO -noserver - c