Still Wrestling With Google’s Web Toolkit

Dmitri is still struggling with Google’s web toolkit—in particular, with trying to debug code that’s throwing an exception for unknown reasons. Maybe we could pass a new law—nobody’s allowed to release a library, framework, language, or other [name goes here] without including debugger support… *sigh*

2 thoughts on “Still Wrestling With Google’s Web Toolkit

  1. Catspaw

    Uhhh….there is debugger support. Use the projectCreator tool (to create a usable .launch file) followed by the applicationCreator tool with
    the -eclipse flag to complete the project for Eclipse. This way when you import into Eclipse all the classpaths and launch configurations
    are set up for you and you just RUN or DEBUG and everything should be fine.

    Maybe we could pass a new law — nobody’s allowed to complain about software failings without RTFMing first.

  2. Dmitri

    I think Greg misunderstood my problem a bit. Me not being able to debug the application is not really what’s stopping me. I am already testing it in Hosted mode. The problem is that the server I’m calling throws me back an exception, and I don’t know why. Being able to debug client-side code doesn’t really help me with that.

    Although when I did try “debug” instead of “run” with Eclipse, instead of getting an exception thrown, I get an error about “source not being found”:

    NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
    DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
    Method.invoke(Object, Object…) line: not available
    IDispatchImpl.callMethod(CompilingClassLoader, Object, Variant[], Method) line: 126
    MethodDispatch.invoke(int, int, Variant[]) line: 88
    MethodDispatch(IDispatchImpl).Invoke(int, int, int, int, int, int, int, int) line: 293
    MethodDispatch(IDispatchImpl).method6(int[]) line: 196
    COMObject.callback6(int[]) line: 117
    OS.DispatchMessageW(MSG) line: not available [native method]
    OS.DispatchMessage(MSG) line: 1925
    Display.readAndDispatch() line: 2966
    GWTShell.pumpEventLoop() line: 689
    GWTShell.run() line: 550
    GWTShell.main(String[]) line: 321

    This may be something worth looking into for me.

Comments are closed.