org.codehaus.aspectwerkz.hook
Class JDWPStarter
java.lang.Object
org.codehaus.aspectwerkz.hook.AbstractStarter
org.codehaus.aspectwerkz.hook.JDWPStarter
- public class JDWPStarter
- extends org.codehaus.aspectwerkz.hook.AbstractStarter
Starts a target process adding JDWP option to have a listening connector and be in suspend mode
Target process is
launched using $JAVA_HOME/bin/java [opt] [main]
and [opt] is patched to use -Xdebug
-Xrunjdwp:transport=..,address=..,server=y,suspend=y
- Author:
- Alexandre Vasseur
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
opt
protected String opt
main
protected String main
JDWPStarter
public JDWPStarter(String opt,
String main,
String transport,
String address)
getTransport
public String getTransport()
getAddress
public String getAddress()
getCommandLine
public String getCommandLine()
- return command line that launched the target process
launchVM
public Process launchVM()
throws IOException
- launchs target process
- Throws:
IOException
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.