31Jul/080
Java remote debugging
This one was evil. I have an Windows XP box with a Virtual Box installed and a virtualized Xubuntu. I have a Java process running on Windows and my NetBeans is on Xubuntu, and I wanted to debug that Java process. An ugly problem, but it was really easy to solve. I've just added this option to the process JVM parameters:
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=6543,server=y,suspend=n
After this, I can use NB's "Attach Debugger" feature to connect to the remote JVM. Works like a charm!
Tagged as: debug, jvm, options, remote
No Comments
Pages
Categories
Archives
- July 2011
- April 2011
- October 2010
- September 2010
- August 2010
- July 2010
- May 2010
- April 2010
- March 2010
- December 2009
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- May 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- March 2007
- September 2006
Tags
action
actions
ant
arguments
asynchronous
attributes
autowire
binding
build
database
eclipse
error
Gridsphere
hibernate
html
ibm
injection
jaas
jasper
JBoss
jpa
jsf
jtable
Liferay
lift
lookup
migration
nbp
NetBeans
nio
password
platform
Portal
Profiler
project
realm
refactoring
remote
Scala
script
spring
tomcat
tooltip
tutorial
websphere