Skip navigation links
GWT 2.10.0

Package com.google.gwt.debug.client

Provides low-level functionality to support the creation of testing and diagnostic frameworks.

See: Description

Package com.google.gwt.debug.client Description

Provides low-level functionality to support the creation of testing and diagnostic frameworks.

To use the functionality in this package, your GWT module should inherit the module com.google.gwt.debug.Debug. The Debug module introduces the client property gwt.enableDebugId, which controls whether or not this debug code is enabled (and therefore included in the final compiled result). It is set to true by default, but a module being compiled for production would very likely want to set it to false to avoid unnecessary extra code in the final compiled output.

Example

A module using this package might look like the following:
 <module>
   <inherits name='com.google.gwt.user.User'/>
   
   <!-- Inheriting 'Debug' on the next line makes the features available. -->
   <inherits name='com.google.gwt.debug.Debug'/>
   
   <!-- Disable for production by uncommenting the next line -->
   <!-- <set-property name="gwt.enableDebugId" value="false"/> -->
   
   <entry-point class='your-entry-point-class'/>
 </module>
 
Skip navigation links
GWT 2.10.0