Uncaught SyntaxError: Unexpected token 'debugger' (at home.ui-0.js:353714:52)
This happens when I do a draft compilation in pretty mode on my application. Not when I do a production build.
Related to this piece of generated code:
ogcs.debugger_1 = function debugger_1(){
var stackIndex;
$stack_0[stackIndex = ++$stackDepth_0] = ogcs.debugger_1;
($location_0[stackIndex] = 'GWT.java:' + '54' , ogcs).$clinit_GWT_2();
if (($location_0[stackIndex] = 'GWT.java:' + '56' , ogcs).isScript_2() && !ogcs.isProdMode_0()) {
$location_0[stackIndex] = 'GWT.java:' + '57' , debugger;
}
$stackDepth_0 = stackIndex - 1;
}
For some reason, the debugger symbol is unknown at the moment that my application is being loaded.
Yet, when I inspect the debugger object in Dev Tools, the object exists.
Is this a known issue when using GWT 2.11 with newer versions of Chrome? It used to work just fine on the same version of GWT. The only thing that changed is the version of Chrome.