How about debugging jsp/servlets on Orion?  That would be a cool trick.

Kirk S. Kalvar


-----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