I use the latest trunk and also SDM with incremental compile. @Goktug could you please provide a sample project where obfuscation works which has the correct configuration?
Am Dienstag, 9. Dezember 2014 02:11:31 UTC+1 schrieb Goktug Gokdogan: > > We are using pretty naming in 2.7 so even using Safari he should get > non-obfuscated names by default. If I'm not missing anything; if he is > getting obfuscated names either he is using trunk (not 2.7) or incremental > is not enabled. > > On Mon, Dec 8, 2014 at 3:45 PM, 'Ray Cromwell' via GWT Contributors < > [email protected] <javascript:>> wrote: > >> He said he's not using Chrome, he's using Safari, which I don't think >> respects the displayName feature. We can't rely on cross-browser >> debugging supporting a client-side Chrome proprietary feature. IDEs >> and SDM need to support source-map/symbolmap based log deobfuscation. >> >> On Mon, Dec 8, 2014 at 1:40 PM, 'Goktug Gokdogan' via GWT Contributors >> <[email protected] <javascript:>> wrote: >> > >> > >> > On Mon, Dec 8, 2014 at 1:00 PM, confile <[email protected] >> <javascript:>> >> > wrote: >> >> >> >> I use GWT-PhoneGap on an iPhone5 and Super Dev Mode. SDM works file. I >> use >> >> the Safari console for logging. >> >> >> > >> > The problem is you shouldn't be seeing obfuscated method names in GWT >> 2.7 >> > SDM as incremental compiler uses pretty names. You should see "at >> > Unknown.somethingMeaningfulHere$(Unknown Source)" instead of "at >> > Unknown.gPc_g$(Unknown Source)" without stacktrace deobfuscation. >> > >> >> It would be great if you could provide an example of how >> >> StackTraceDeobfuscation worked. I see there is a lack in the >> documentation. >> >> >> >> Michael >> >> >> >> >> >> Am Montag, 8. Dezember 2014 21:28:56 UTC+1 schrieb Goktug Gokdogan: >> >>> >> >>> The stack traces that are logged as escaped exceptions (with missing >> >>> causes) and the ones that are logged by Logger (without inheriting >> >>> c.g.gwt.logging) will be deobfuscated by Chrome dev tools (if haven't >> >>> already fixed in Dev channel). >> >>> Being said that, I don't understand why you are not seeing pretty >> names >> >>> for your methods. Are you not using incremental? >> >>> >> >>> On Mon, Dec 8, 2014 at 10:25 AM, Jens <[email protected]> wrote: >> >>>>> >> >>>>> I use it like this: >> >>>>> >> >>>>> GWT.setUncaughtExceptionHandler(new >> >>>>> SuperDevModeUncaughtExceptionHandler()); >> >>>> >> >>>> Then just throw an exception somewhere in your app that you do not >> catch >> >>>> yourself. The handler does not fix your java.util.logging.Logger or >> >>>> GWT.log() calls. >> >>>> >> >>>> But as you are using Safari you might not get any benefit of it >> anyways. >> >>>> In that case, as already said, your only chance is to use remote >> logging and >> >>>> use StackTraceDeobfuscator on a server to make the exception >> readable. >> >>>> >> >>>> -- J. >> >>>> >> >>>> -- >> >>>> You received this message because you are subscribed to the Google >> >>>> Groups "GWT Contributors" group. >> >>>> To unsubscribe from this group and stop receiving emails from it, >> send >> >>>> an email to >> [email protected] >> <javascript:>. >> >>>> To view this discussion on the web visit >> >>>> >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/e0ebec63-bd88-4f12-b9f3-bbb59fbe4763%40googlegroups.com >> . >> >>>> >> >>>> For more options, visit https://groups.google.com/d/optout. >> >>> >> >>> >> >> -- >> >> You received this message because you are subscribed to the Google >> Groups >> >> "GWT Contributors" group. >> >> To unsubscribe from this group and stop receiving emails from it, send >> an >> >> email to [email protected] >> <javascript:>. >> >> To view this discussion on the web visit >> >> >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/6a0c1571-da4a-4ba5-8ff2-77a68c06e517%40googlegroups.com >> . >> >> >> >> For more options, visit https://groups.google.com/d/optout. >> > >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "GWT Contributors" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to [email protected] >> <javascript:>. >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA10f-igQmV3zcSgH71S25AKhCX0GFs0LTVBd%3DOb%2BYjGNw%40mail.gmail.com >> . >> > >> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Contributors" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAPVRV7dUkJxbLxdDpP9wkeBmswqs4DcUob4PrtpOXG2aeuWwsw%40mail.gmail.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/6e8f5c35-671f-49c6-9ed7-631ce5c63dde%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
