I'm having a similar problem though the only place breakpoints don't
seem to work is in my AsyncCallback.

I see no errors in firebug or anywhere in eclipse.

The method that accepts the callback is a native js method.   the js
calls the callback onSuccess.
With compiled code, I can see this actually works, but running in
development mode, i cannot get the callback to fire at all.

please advise.

On Mar 3, 12:01 pm, Rajeev Dayal <[email protected]> wrote:
> Glad you got it working. If you wouldn't mind, could you file a bug for
> this? Provide details about your Eclipse version, JDK version, and OS.
>
>
>
> On Tue, Mar 2, 2010 at 6:17 PM, urbanus <[email protected]> wrote:
> > On Feb 10, 2:53 am, Rajeev Dayal <[email protected]> wrote:
> > > Try upgrading your JDK and see if you still experience the problem.
>
> > Actually I found the problem.  I was setting the breakpoint on the
> > method definition line, i.e.:
>
> > public void onSuccess(String result) {
>
> > Those breakpoints never hit.  If I place breakpoints on any lines
> > *within* that method, they hit just fine.
>
> > Note that under normal circumstances if you put a breakpoint on a
> > method line, execution will break at the immediately following line.
> > It seems that client-side asynchronous GWT code doesn't behave that
> > way.  I wouldn't consider this to be a serious issue: just something
> > to be aware of.
>
> > Thanks for your advice.
>
> > Dave
>
> > --
> > 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