Tuesday, January 29, 2013

Obfuscation tuning

We are having some issues on IE tracking down some errors in production. IE is often less than helpful in that it often doesn't give you any call stack, Instead you get messages like

(TypeError): Unable to get value of the property 'f': object is null or undefined description: Unable to get value of the property 'f': 

We don't want to turn on stack trace emulation because it slows things down too much. So we have been deploying with obfuscation mode = pretty. The problem is that the file sizes become huge. What I would like is some way to tune the obfuscation output to do the following:

1) Remove all white space
2) Obfuscate function names (we can look up these in the symbol map)
3) Leave variables and object fields unobfuscated

Does anyone know if there is any control on how things are obfuscated?

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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment