I am debugging a GWT application and I need to print some stuff to the console for testing purposes. System.out.println and GWT.log don\'t work. Do
System.out.println
GWT.log
In GWT version 2.6.0, method GWT.log writes message to browser console, you don't need to write native methods.