public class DebuggerManagerImpl extends DebuggerManagerEx implements PersistentStateComponent<Element>
Modifier and Type | Class and Description |
---|---|
static class |
DebuggerManagerImpl.DebuggerRunContentWithExecutorListener |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCALHOST_ADDRESS_FALLBACK |
Constructor and Description |
---|
DebuggerManagerImpl(Project project) |
getInstanceEx
getInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public static final java.lang.String LOCALHOST_ADDRESS_FALLBACK
public DebuggerManagerImpl(Project project)
public void addClassNameMapper(NameMapper mapper)
addClassNameMapper
in class DebuggerManager
public void removeClassNameMapper(NameMapper mapper)
removeClassNameMapper
in class DebuggerManager
public java.lang.String getVMClassQualifiedName(PsiClass aClass)
getVMClassQualifiedName
in class DebuggerManager
public void addDebuggerManagerListener(DebuggerManagerListener listener)
addDebuggerManagerListener
in class DebuggerManagerEx
public void removeDebuggerManagerListener(DebuggerManagerListener listener)
removeDebuggerManagerListener
in class DebuggerManagerEx
public DebuggerSession getSession(DebugProcess process)
getSession
in class DebuggerManagerEx
public java.util.Collection<DebuggerSession> getSessions()
getSessions
in class DebuggerManagerEx
public Element getState()
getState
in interface PersistentStateComponent<Element>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(Element state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<Element>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void writeExternal(Element element) throws WriteExternalException
WriteExternalException
public DebuggerSession attachVirtualMachine(DebugEnvironment environment) throws ExecutionException
attachVirtualMachine
in class DebuggerManagerEx
ExecutionException
public DebugProcessImpl getDebugProcess(ProcessHandler processHandler)
getDebugProcess
in class DebuggerManager
public DebuggerSession getDebugSession(ProcessHandler processHandler)
public void addDebugProcessListener(ProcessHandler processHandler, DebugProcessListener listener)
addDebugProcessListener
in class DebuggerManager
public void removeDebugProcessListener(ProcessHandler processHandler, DebugProcessListener listener)
removeDebugProcessListener
in class DebuggerManager
public boolean isDebuggerManagerThread()
isDebuggerManagerThread
in class DebuggerManager
public BreakpointManager getBreakpointManager()
getBreakpointManager
in class DebuggerManagerEx
public DebuggerContextImpl getContext()
getContext
in class DebuggerManagerEx
public DebuggerStateManager getContextManager()
getContextManager
in class DebuggerManagerEx
@Deprecated public static RemoteConnection createDebugParameters(JavaParameters parameters, boolean debuggerInServerMode, int transport, java.lang.String debugPort, boolean checkValidity) throws ExecutionException
RemoteConnectionBuilder
ExecutionException
@Deprecated public static RemoteConnection createDebugParameters(JavaParameters parameters, boolean debuggerInServerMode, int transport, java.lang.String debugPort, boolean checkValidity, boolean addAsyncDebuggerAgent) throws ExecutionException
RemoteConnectionBuilder
ExecutionException
public static RemoteConnection createDebugParameters(JavaParameters parameters, GenericDebuggerRunnerSettings settings, boolean checkValidity) throws ExecutionException
ExecutionException