Classpath hacking in Eclipse

2007-10-21 Thread Cameron McCormack
Hi all. I want to use Eclipse debug my application running on Classpath. I tried to follow the instructions at http://developer.classpath.org/mediation/ClasspathHackingWithEclipse to set up my environment, but I’ve run into a couple of stumbling blocks. I tried first with jamvm. All of the

Re: Classpath hacking in Eclipse

2007-10-22 Thread Christian Thalinger
On Mon, 2007-10-22 at 11:54 +1000, Cameron McCormack wrote: > Hi all. > > I want to use Eclipse debug my application running on Classpath. I > tried to follow the instructions at > > http://developer.classpath.org/mediation/ClasspathHackingWithEclipse > > to set up my environment, but I’ve ru

Re: Classpath hacking in Eclipse

2007-10-22 Thread Cameron McCormack
Hi Christian. Christian Thalinger: > > main: lt_dlsym failed: > > /usr/local/jdk1.6.0_03/jre/lib/i386/client/libjvm.so: undefined symbol: > > vm_createjvm > > Seems like some environment variable is set, like LD_LIBRARY_PATH, that > points to /usr/local/jdk1.6.0_03/jre/lib/i386/client/. The

Re: Classpath hacking in Eclipse

2007-10-22 Thread Andrew Haley
Cameron McCormack writes: > Hi Christian. > > Christian Thalinger: > > > main: lt_dlsym failed: > > > /usr/local/jdk1.6.0_03/jre/lib/i386/client/libjvm.so: undefined symbol: > > > vm_createjvm > > > > Seems like some environment variable is set, like LD_LIBRARY_PATH, that > > points

Re: Classpath hacking in Eclipse

2007-10-22 Thread Mario Torre
Il giorno lun, 22/10/2007 alle 21.42 +1000, Cameron McCormack ha scritto: > Hi Christian. > So what do you classpath guys do for debugging? Don’t tell me you all > use System.out.println()s everywhere? :) Exactly :( For this reason, we are quite good at writing stress tests :). Also, If it's in

Re: Classpath hacking in Eclipse

2007-10-22 Thread Cameron McCormack
Andrew Haley: > If you have gcj, you can just use gdb. OK. > Full JDWP support is now in gcj too. Even better! I see that the top news item on http://gcc.gnu.org/java/ mentions that this can be used from Eclipse. Do you know of a page that explains how to set this up? Thanks again, Cameron

Re: Classpath hacking in Eclipse

2007-10-23 Thread Andrew Haley
Cameron McCormack writes: > Andrew Haley: > > If you have gcj, you can just use gdb. > > OK. > > > Full JDWP support is now in gcj too. > > Even better! I see that the top news item on http://gcc.gnu.org/java/ > mentions that this can be used from Eclipse. Do you know of a page that