I have always experienced extremely slow perfomance when doing JPDA debugging against 
an app running on the HotSpot VM. This is independent of IDEA. Forcing the classic VM 
did the job for me. here are the debug flags I use:

DEBUG_FLAGS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1200

BTW, I think socket transport is known to be more reliable than shared mem anyway.

>
>No method or conditional breakpoint.  Just a simple breakpoint in a method
>and stepping through it.
> 
>My debuggee is Weblogic App. Server, the command line looks like the
>following:
> 
>$JAVA_HOME/bin/java -Xincgc -Xms128m -Xmx128m -classpath $CLASSPATH -Xdebug
>-Xnoagent -Djava.compiler=NONE
>-Xrunjdwp:transport=dt_shmem,address=localhost,server=y,suspend=n
>weblogic.Server
>
>thanks,
>Mike Liu
> 
> 
> 
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
>Behalf Of Eugene Zhuravlev
>Sent: Friday, December 07, 2001 2:06 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [Eap-list] Slow Performance
>
>
>Hi Mike,
>
> 
>"Force classic VM" option has no effect in case of remote debug. 
>Possible reasons are: 
> - method breakpoints,
> - conditional breakpoints with complex conditions,
>Please provide some details about the debuggee:
>what command line are you using to launch it?
> 
>Best regards,
>Eugene Zhuravlev

__________________________________
DynaBEAN Consulting
Engineering the Future
www.dynabean.com

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to