Reputation: 31
UC berkeley offers a free java debugger called gjdb which is a modified version of gdb. but I have trouble about how to install it. Specifically, in the README file it says:
To configure, use
DIR/configure OPTIONS
in the directory in which you want to build, where DIR designates the directory in which you have unpacked the source (can be .). Use
DIR/configure --help
to see the options.
Next, you can simply type
make
to build,
make install
to install, and
make install-doc
to compile and install the documentation file gjdb.pdf.
To use gjdb from Emacs, arrange to load it in your initialization (.emacs) file with the command
(load "DIR/gjdb")
where DIR is the directory in which 'make install' put gjdb.el (see the output of configure --help), or just
(load "gjdb")
if you have put DIR on Emacs's load path.
I just have no Idea about the installation process. If any of you have a better choice for a JAVA debugger in Emacs, please let me know!
Upvotes: 1
Views: 246
Reputation: 31
thanks for the help of @chris, I've come up with the right way to configure. just use
./configure apphome==/usr
everything goes as expected!!
Upvotes: 2