public class JavaDebuggerAttachUtil
extends java.lang.Object
| Constructor and Description |
|---|
JavaDebuggerAttachUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
attach(BaseProcessHandler processHandler,
Project project) |
static com.sun.tools.attach.VirtualMachine |
attachVirtualMachine(java.lang.String id) |
static boolean |
canAttach(BaseProcessHandler processHandler) |
static java.util.Set<java.lang.String> |
getAttachedPids(Project project) |
public static boolean canAttach(BaseProcessHandler processHandler)
public static boolean attach(BaseProcessHandler processHandler, Project project)
public static java.util.Set<java.lang.String> getAttachedPids(Project project)
public static com.sun.tools.attach.VirtualMachine attachVirtualMachine(java.lang.String id)
throws java.io.IOException,
com.sun.tools.attach.AttachNotSupportedException
java.io.IOExceptioncom.sun.tools.attach.AttachNotSupportedException