Hello all,

It works, the problem was that the .class files must be compiled by
Netbeans.
If the .class files were from the Javasoft jdk1.2.2 compiler, the Netbeans
will not be able to display variable contents.
I looks like we will be switching from IBM Visual Age to Netbeans.

Thanks for Martin's help on this.

Regards,

Rob Lapensee
Director of Technology
Delfour Corporation
[EMAIL PROTECTED]
www.delfour.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Martin Mavrov
Sent: Thursday, July 20, 2000 2:07 PM
To: Orion-Interest
Subject: Re: debugging orion EJB's with Netbeans


----- Original Message -----
From: "Rob Lapensee" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, July 20, 2000 6:35 PM
Subject: debugging orion EJB's with Netbeans


> Hello all,
>
> Did anyone get Netbeans debugging to work.
>
> I have found the following so far...
>
> 1) you need to get Netbeans from www.netbeans.org
> 2) you need to get jpda from sun at http://java.sun.com/products/jpda/

AFAIK JDK 1.3 has JPDA built-in... at least works here without any
additional stuff.

> 3) you need to make sure the netbeans startup includes the jpda.jar
> 4) you need to make sure that the jpda/bin directory is in the path (not
> classpath) before starting orion
>
> make sure orion.jar, ejb.jar jndi.jar are all in the CLASSPATH
> then start orion with:
>
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se
> rver=y,suspend=y com.evermind.server.ApplicationServer

I use shared memory, works too.

>
>
> It will stop at the right line of code when I set a break point!
> But I cannot seem to get it to show the contents of any of the variables.
>

It stops at the breakpoint and shows the variable contents.

BTW my NetBeans is the Jaga build (2007)

Best regards,
/Martin


Reply via email to