If you just want to debug WIAB server locally, then it would be easier by running the server from compiled classes with ant target: ant debug-server Debugging the client side is a bit more complex. If you want to debug just the WavePanel code (the Undercurrent), like for example if you want to develop a "Doodad" - then you can by running the "waveharness-hosted" target, i.e. ant waveharness-hosted
If you want to debug the whole GWT client - it can be done by launching the source code server. ant hosted-gwt then append ?gwt.codesvr=127.0.0.1:9997 to the URL ( http://vegalabz.com:9898/?gwt.codesvr=127.0.0.1:9997#local.net/w+Y40vX___hxD) to make the browser connect to the source server. You would need to install a plugin extension for this. On Sat, Dec 31, 2011 at 7:24 PM, Ben Hegarty <heg...@gmail.com> wrote: > Hi guys, > I know this must seem a basic question, however I can't seem to get the > debug server running so I can attach to it, I followed the instructions > from http://www.waveprotocol.org/code/debugging, but this doesn't seem to > be working, I get the error below... Does anyone know how to get pass this > issue? > > hegsie$ ./run-server.sh --debug > Listening for transport dt_socket at address: 53892 > Exception in thread "main" java.lang.NoClassDefFoundError: set > Caused by: java.lang.ClassNotFoundException: set > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > While I was hunting through the codeline I stumbled across > waveharness-hosted in the build file, does anyone know if there are any > instructions around for how I can use this mode for debugging? > > Cheers >