Zack Grossbart wrote:
>
> Nathan,
>
> When I try to launch a JVM with the debug options it says there is no JDWP
> implementation available, and I can not find the JPDA or the JVMDI shared
> libraries in my JDK. I am using Blackdown RC-4. Do you know if there is
> anything that needs to be installed on top of the JDK?
You just run "java -debug" and see a message mentioning JDWP by name?
I've never managed to see that one, and I have successfully used
debuggers that require JPDA (like JBuilder's) with Blackdown RC4. Very
strange.
The only requirements I have noticed for the debug option are that the
tools jarfile be added to the boot classpath, and that JIT be disabled:
> java -Djava.compiler=
>-Xbootclasspath:/path/to/jdk/jre/lib/rt.jar:/path/to/jdk/lib/tools.jar -debug ...
If you don't get an "agent password" message, I'd guess that something's
broken with your installation. Just to hit the obvious case: you are
running in a glibc 2.1.2 environment, right?
Nathan
>
> Thanks
> Zack
>
> > -----Original Message-----
> > From: Nathan Meyers [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 18, 2000 7:20 PM
> > To: Zack Grossbart; noisebrain; [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: jdb tips?
> >
> >
> > On Tue, Apr 18, 2000 at 02:06:39PM -0400, Zack Grossbart wrote:
> > > Hi,
> > >
> > > I don't think there is a full JPDA or JVMDI implementation
> > on Linux. This
> > > means that you can act as a JDPA client from Linux (i.e. debug a virtual
> > > machine on windows from Linux), but you can not do it the other
> > way around.
> > > This includes using JDB against an application running on Linux.
> > >
> > > Sorry for the bad news. I'd be very happy if I was contradicted.
> >
> > Then you can cheer up :-). The Sun/Inprise JDK has it, and the Blackdown
> > JDK has had it since the current release candidate came out. The problem
> > here appears to be a lack of current jdb documentation.
> >
> > The good news is, with JPDA, you can use debugger clients like those in
> > JBuilder, so you're not stuck with jdb and its undocumented options.
> >
> > Nathan
> >
> > >
> > > Zack
> > >
> > > > -----Original Message-----
> > > > From: noisebrain [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, April 13, 2000 10:42 PM
> > > > To: [EMAIL PROTECTED]
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: jdb tips?
> > > >
> > > >
> > > > Hello,
> > > >
> > > > i'm trying jdb for the first time and am having difficulties.
> > > >
> > > > Using sun/inprise/blackdown 1.2.2(feb version) I run my app with
> > > > -Xdebug -Djava.compiler=NONE -Xbootclasspath:...
> > > > and it prints out e.g.
> > > > Agent password=3i5347
> > > >
> > > > The jdb tool doc says that I can then run
> > > > jdb -host <host> -password <password>
> > > > but jdb itself says it does not recognize -host. Jdb's usage message
> > > > says it recognizes
> > > > -connect <connector-name>:<name1>=<value1>,.
> > > > or
> > > > -attach <address>
> > > > but the html doc doesn't describe what <address> or
> > <connector-name> are.
> > > >
> > > > Thanks for any help
> > > >
> > > >
> > > >
> > > >
> > > > ----------------------------------------------------------------------
> > > > 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]
> >
> >
> > ----------------------------------------------------------------------
> > 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]