Heh.  Just kidding.  I don't use emacs with scrollbars or menus
(have set menu-bar-mode and scroll-bar-mode to -1 since menus
and scrollbars were added to emacs in - when was it?  1993?).

Anyway, not to disparage those who do use menus and scrollbars
in emacs, but I'm having some problems with JDE in Emacs and I
am wondering if it's because I am not using menus (which JDE
seems to hook into quite thoroughly, when present).

All I really want out of JDE is to be able to run jdb in emacs
and have it actually work reasonably - that is to say, being
able to set breakpoints with C-x space, and step through source
rather than having to use the list command.  Why jdb wasn't just
written to output whatever codes are necessary to allow emacs to
track it in the first place, I will never know ...

To make a long story short, jde-db creates a running instance
of jdb which simply hangs.  This is what I get:

------------------------------------------------------------------------
cd /data/den/bji/com/plumbdesign/pdanvil/gui/
jdb com.plumbdesign.pdanvil.gui.PDAnvil

Initializing jdb...
> Deferring breakpoint com.plumbdesign.pdanvil.gui.PDAnvil.main.
It will be set after the class is loaded.
> run com.plumbdesign.pdanvil.gui.PDAnvil
> 
VM Started: Set deferred breakpoint request com.plumbdesign.pdanvil.gui.PDAnvil:62
------------------------------------------------------------------------

It simply hangs forever.  The java process is running, and who knows,
maybe it even broke in main as promised, but the jde-db doesn't
seem to realize it.

My configuration:

Stock emacs from RedHat 6.0 on Linux i386: (gnu-emacs 20.3.1)
Patch to speedbar.el necessary to avoid c-frame error
jde-2.1.6beta20 (doesn't work with 2.1.5 either)

The following JDK's show this problem:

* All of Sun's 1.2.2 releases (1.2.2.rc1, 1.2.2.rc2, 1.2.2)`

The following JDK's do not show this problem:

* Blackdown's 1.2 pre-releases (1.2-pre-v1, 1.2-pre-v2)

One interesting thing to note is that with Sun's 1.2.2 releases
I was getting an error when running jdb because it couldn't
find libjdwp.so.  So I added jdk/lib/i386 to my LD_LIBRARY_PATH
and then it ran fine.

Also I can run jdb directly using the jdb command in emacs,
and it works (doesn't hang), but I don't get the great emacs
integration that jde-db provides.

Any hints will be greatly appreciated.

Thanks, and best wishes,
Bryan

-- 
--------------------------------------------------------------------
Bryan Ischo                                    p l u m b d e s i g n
[EMAIL PROTECTED]                    http://www.plumbdesign.com

Reply via email to