Well, I got JDEbug to work using linux and the Sun/Inprise JDK1.2.2 RC2.
It took a little bit of tweaking, though.
JDE wants to execute the program to be debugged using the JRE. However, the
native debugging and transport libraries (libdt_socket.so and libjdwp.so) are
located in $JDK_HOME/lib/i386, not in $JDK_HOME/jre/lib/i386. An attempt to
launch the program using the jre causes a crash, since the libraries cannot be
found.
I simply made symlinks from $JDK_HOME/lib/i386 to $JDK_HOME/jre/lib/i386 for the
two libraries, and that did the trick.
I did have two problems, though:
1) Whenever I set a breakpoint, I got an error message, saying "Symbol's
function definition is void: line-beginning-position." It seems as though the
breakpoint actually does get set, though there is no marker indicating it.
2) After stepping through my running program for awhile, the
jde-db-source-directories list seems to be cleared. Suddenly, JDE can't find
any of my source files (including ones it has previously found in the same
debugging session) and prompts me to select the file myself. I looked through
the elisp but nothing really jumped out at me.
BTW, I'm running XEmacs 20.4. Is this, perhaps, not a supported version?
-jaz
--
[F]or Schopenhauer, [the world process] results from the attempt of a
primal will to consume itself.... [W]hy would it attempt to devour
itself? Schopenhauer's answer, which I find irresistible, is this: it
devours itself because it's all there is, and it's hungry. (Alan White)