gwt-log will print those stack traces for you. To get the most out of it you'll want to use GWT trunk and gwt-log trunk. To get started: http://code.google.com/p/gwt-log/wiki/GettingStarted
In particular, make sure you: <inherits name="com.google.gwt.core.EmulateJsStack"/> <set-configuration-property name="compiler.emulatedStack.recordLineNumbers" value="true"/> <set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true"/> And use the deferred command pattern to capture initialization exceptions: public void onModuleLoad() { Log.setUncaughtExceptionHandler(); DeferredCommand.addCommand(new Command() { public void execute() { onModuleLoad2(); } }); } private void onModuleLoad2() { // Your client code goes here } HTH Fred On Mon, Aug 10, 2009 at 1:36 AM, Joy <goswami....@gmail.com> wrote: > > Hi All, > > I can see hosted mode debug message in eclipse console. When I compile > and run mt application in IE I get some javascipt error messages. But > I am uanble to debug because I am not getting the culprit java file > which might have caused the error. > > So I want to know how to enable web mode debugging, so that i can see > the java stack trace in eclipse console, while running the application > in IE. > > Thanks in advance. > > > > -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---