I made it work. Apparently now DevMode only pays attention if the URL
that represents the request that loads the application has the
gwt.codesvr parameter. I hope there's another way to preserve the old
behavior where hosted mode was able to debug applications no matter
how they were loaded, as long as they were loaded. See my use case:
logged in to an application, and eventually navigated to my embedded
GWT application at which point hosted mode took over and debugging has
very intuitive.

Otherwise it will be very inconvenient, at least for me, since my
applications are loaded through links (for example), and now such
links have to be (somehow) decorated with the gwt.codesvr parameter.

Please tell me there's another way.

On Dec 21, 5:17 pm, Raziel <[email protected]> wrote:
> I added the -startup option, and although DevMode generates the
> gwt.codesvr parameter, when pasting it into the browser I still cannot
> get the breakpoints to work.
>
> In my case my GWT application is part of another application, and this
> one requires to go through a login page. Previously (i.e. GWT 1.7) I
> specified the start URL to be the login page and then after logging in
> I just needed to navigate where my GWT application was and from that
> moment everything worked fine. Now, I specify the same URL (i.e. the
> login page) as the start URL, copy the devmode generated URL and paste
> it in the browser. But when I get to my GWT application and it loads,
> breakpoints don't work.
>
> Any idea?
>
> Thanks
>
> On Dec 10, 11:15 am, Rajeev Dayal <[email protected]> wrote:
>
>
>
> > This is exactly right - just add:
>
> >  -startupUrlhttp://myotherserver/path/to/my/page.html
>
> > to the program arguments list. Note that the argument is "-startupUrl", not
> > "-startUrl".
>
> > On Thu, Dec 10, 2009 at 8:38 AM, Thomas Broyer <[email protected]> wrote:
>
> > > On Dec 10, 11:13 am, Stefan Sigvardsson <[email protected]> wrote:
> > > > Hi!
>
> > > > In the previous versions of GWT i have been able to use hostedmode
> > > > against my external server this wayhttp://
> > > code.google.com/intl/sv-SE/webtoolkit/doc/latest/FAQ_Debugging...
>
> > > > I just whitelistes the address and typed a different URL in this
> > > viewhttp://code.google.com/eclipse/images/gwt_launch_settings.png
>
> > > > Now the URL field has been removed in v2.0 (developmentmode).
>
> > > > I have to run it on the external server because that is where my XML-
> > > > RPC web service and database are.
>
> > > > Help? Please?
>
> > > Just provide the -startUrl argument (in the Arguments box in the
> > > "Launch as Web Application" dialog):
> > >  -startUrlhttp://myotherserver/path/to/my/page.html
>
> > > Then GWT will add the appropriate ?gwt.codesrv=... argument to the URL.
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-web-toolkit%2Bunsubs
> > >  [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to