0

I'm using GWT Super Dev Mode and the Chrome debugger. Some (not all) variables won't let me examine their values, either by hovering or by right-click -> Evaluate in Console. The latter gives "ReferenceError: is not defined. It reminds me of an earlier environment where the compiler optimizer simply removed variables of short duration. Does anyone know why this happens or how to stop it? Here is a code example:

    public AbstractModal( final String title, final String width )
{
    this( title, width, ( int )( Window.getClientHeight( ) * AbstractModal.MaxHeightPercentage ) + "px" );
}
rdgWarren
  • 87
  • 1
  • 8
  • Is MaxHeightPercentage the variable? – thst Apr 03 '15 at 22:23
  • In this case it's true of title, width, and MaxHeightPercentage. 'width' is of the most interest in this case. On the calling side it is computed inline so the easiest way (if this worked) to see what it is, is to step into this routine and examine it. But this fails as described above. – rdgWarren Apr 06 '15 at 15:10

0 Answers0