Questions on JDE are more properly directed at the JDE mailing list:
[EMAIL PROTECTED]
There is a helpful archive of this list at
http://www.mail-archive.com/jde@sunsite.auc.dk/maillist.html.
Your problem stems from the fact that the jdb that is shipped with the
latest 1.2 JDKs on linux is of a new architecture (based on JPDA). The
2.1.5 version of JDE does not work with this version of jdb.
There are several solutions:
1. Use 'oldjdb' instead of just 'jdb'.
2. Upgrade to the latest beta release of JDE, 2.1.6. There is a new
debugger in this version which is based on JPDA, and thus does not use
jdb. It is not yet complete, but is rather functional. Read the 2.1.6
release notes and check out the mailing list archives for information on
how to set this up - as it is still beta, there is no "formal"
documentation written up on it yet.
-Adam Ambrose
Man Chi Ly wrote:
>
> my environment:
> Red Hat 6.2 stock
> latest blackdown JDK 1.2.2 (RC4 I believe)
> GNU Emacs 20.5.1
> Emacs/JDE 2.1.5
>
> The User's Guide lays out pretty clearly how to use jdb within
> emacs. However, I've had no luck doing so.. I can run jdb within any shell
> (including a shell within emacs) so it works; it's too tedious w/out emacs
> key-bindings though.
>
> When I try to run the debugger, it just stalls.. here's what it looks
> like:
>
> cd /home/mly/proj-mediator/java/
> jdb HelloWorld
>
> Initializing jdb...
> > Deferring breakpoint HelloWorld.main.
> It will be set after the class is loaded.
> > run HelloWorld
> >
> VM Started: Set deferred breakpoint request HelloWorld:3
>
> Are there any "gotchas" involved? On a different note, I've used IBM
> VAJava in the past, and its debugger is credible. However, it's not an
> option in my current environment. I'm wondering if JBuilder Foundation has
> a strong debugger?
>
> TIA.
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]