Saturday, July 6, 2013

Re: RPC AsyncCallback freezes chrome

Hi,

Here what I would do.

At every step you should verify that the problem exists.

1. Copy/clone your application to GWTBugTest application
2. Get rid of all client (GWT compiled) code that does not trigger the
problem
3. When you have a reliable way to trigger the problem try to put it as
a button callback. Make the button label "Test the Bug"
4. At this point you shouldn't have any interesting business client side
code. If you have try to simpilfy it more and or remove or business
oriented variables, methods etc.
5. Now do the same server with side. Remove all non related RPC calls.
6. In the related call simplify so it has no business logic. For example
replace database calls with functions that call sleep to emulate long
queries and return dummy data. The length of the data may be of importance.

Now you should have the perfect minimal code without any business logic
with dummy variable names that exposes the bug you see. You can post the
above code as a bug report.

If you can't reduce your program this way to the absolute minimal at
least you will what step make the bug goes away. By that time you should
have a better understanding what is the real culprit.

Vassilis

On 07/06/13 16:22, fenyoapa wrote:
> Ok, then I don't understand what do you mean on "isolate your problem
> in a stand alone gwt app". I can provide short code snippets (as I did
> above) but I can't provide a working gwt app with which the problem
> can be seen because of the points I wrote. Or, maybe I can package the
> whole app and send, but I guess you don't thought that. Can you please
> help me how to help you in order to you will be able to help me...
>
> 2013. július 6., szombat 14:31:42 UTC+2 időpontban Ed a következőt írta:
>
> > Sorry I can't, It runs behind a VPN in a special environment and
> it is property of our customer..
> Why not?
> I just make your own gwt app that shows the issue.... (no client
> code, no vpn).
> I don't understand what this has to do with vpn or customer code?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to google-web-toolkit+unsubscribe@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate