Thursday, February 25, 2021

Re: Superdevmode and ReferenceErrors

That made my day! I was encountering those issues a lot when using Lambda expressions - and renaming a Lambda is rather difficult... Thanks!

On Wednesday, February 24, 2021 at 10:36:38 PM UTC+1 David Nouls wrote:
I just browse to the sdm website at http://localhost:9876 and click on de button to clear the cache
On 24 Feb 2021, 22:20 +0100, Stik <stikd...@gmail.com>, wrote:
Aha, how do you clear the cache? i've never been sure where SDM is hiding it
Stik

On Wednesday, February 24, 2021 at 8:40:05 PM UTC David Nouls wrote:
It is a known issue with incremental compilation. It is annoying but I tend to just clear the sdm cache and reload.
On 24 Feb 2021, 20:50 +0100, Stik <stikd...@gmail.com>, wrote:
Occasionally when running under SDM in Eclipse I will get a "ReferenceError: <symbol>_g$ is not defined" from the browser.   The usual "fix" is to rename the symbol in question, reload, and the issue is gone.   If i then rename it back to what it used to be called, so nothing has actually changed, it remains fixed.

This happens to me maybe once a week or two when developing heavily.  It's a minor irritation, but it's an irritation that's building up over time!   Has anyone else experienced this and found out a way to mitigate it?   I've never seen it happen to a full compile process, it seems to only affect SDM.  

My gut feeling is that it affects static fields in particular, although i've seen it elsewhere (just now the constructor for an ordinary, dull class is missing).

The problem is that it is not repeatable, it's something to do with the state of my SDM server at that particular moment, so I can't get a test case together to show to anyone

Any thoughts?

Stik

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6c381234-9bb9-4ae7-b3c3-fd463a05c443n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6215c30b-2162-4ac8-a226-92daea2f5d65n%40googlegroups.com.

No comments:

Post a Comment