> 
> Debug -
> I'm using jswat (open source debugger) connecting remotely to jboss to debug 
> servlet / ejb code.  This is proving too slow to be practical.  I'm using 
> embedded tomcat as the web container and I'm starting the jboss with these flags:
> java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n org.jboss.Main
> 
> Is this the most optimal way to debug code? Would different configurations be 
> faster (tomcat in different VM?).  Is the debug slow because I'm using jswat - 
> are there other free / open debug tools you'd reccomend?
> 
Use:

java -classic -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n org.jboss.Main

to disable HotSpot and use the JIT instead. HotSpot is terribly slow when debugging
for some reason.



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to