public abstract class XDebuggerManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Topic<XDebuggerManagerListener> |
TOPIC |
Constructor and Description |
---|
XDebuggerManager() |
Modifier and Type | Method and Description |
---|---|
abstract XBreakpointManager |
getBreakpointManager() |
abstract XDebugSession |
getCurrentSession() |
abstract <T extends XDebugProcess> |
getDebugProcesses(java.lang.Class<T> processClass) |
abstract XDebugSession |
getDebugSession(ExecutionConsole executionConsole) |
abstract XDebugSession [] |
getDebugSessions() |
static XDebuggerManager |
getInstance(Project project) |
abstract XDebugSession |
startSession(ExecutionEnvironment environment,
XDebugProcessStarter processStarter)
Start a new debugging session.
|
abstract XDebugSession |
startSessionAndShowTab(java.lang.String sessionName,
javax.swing.Icon icon,
RunContentDescriptor contentToReuse,
boolean showToolWindowOnSuspendOnly,
XDebugProcessStarter starter)
Start a new debugging session and open 'Debug' tool window
|
abstract XDebugSession |
startSessionAndShowTab(java.lang.String sessionName,
RunContentDescriptor contentToReuse,
boolean showToolWindowOnSuspendOnly,
XDebugProcessStarter starter)
Start a new debugging session and open 'Debug' tool window
|
abstract XDebugSession |
startSessionAndShowTab(java.lang.String sessionName,
RunContentDescriptor contentToReuse,
XDebugProcessStarter starter)
Start a new debugging session and open 'Debug' tool window
|
public static final Topic<XDebuggerManagerListener> TOPIC
public static XDebuggerManager getInstance(Project project)
public abstract XBreakpointManager getBreakpointManager()
public abstract XDebugSession [] getDebugSessions()
public abstract XDebugSession getDebugSession(ExecutionConsole executionConsole)
public abstract <T extends XDebugProcess> java.util.List<? extends T> getDebugProcesses(java.lang.Class<T> processClass)
public abstract XDebugSession getCurrentSession()
public abstract XDebugSession startSession(ExecutionEnvironment environment, XDebugProcessStarter processStarter) throws ExecutionException
ProgramRunner.execute(ExecutionEnvironment)
method. Otherwise use startSessionAndShowTab(java.lang.String, com.intellij.execution.ui.RunContentDescriptor, com.intellij.xdebugger.XDebugProcessStarter)
methodExecutionException
public abstract XDebugSession startSessionAndShowTab(java.lang.String sessionName, RunContentDescriptor contentToReuse, XDebugProcessStarter starter) throws ExecutionException
sessionName
- title of 'Debug' tool windowExecutionException
public abstract XDebugSession startSessionAndShowTab(java.lang.String sessionName, RunContentDescriptor contentToReuse, boolean showToolWindowOnSuspendOnly, XDebugProcessStarter starter) throws ExecutionException
sessionName
- title of 'Debug' tool windowshowToolWindowOnSuspendOnly
- if true
'Debug' tool window won't be shown until debug process is suspended on a breakpointExecutionException
public abstract XDebugSession startSessionAndShowTab(java.lang.String sessionName, javax.swing.Icon icon, RunContentDescriptor contentToReuse, boolean showToolWindowOnSuspendOnly, XDebugProcessStarter starter) throws ExecutionException
sessionName
- title of 'Debug' tool windowicon
- icon of 'Debug' tool windowshowToolWindowOnSuspendOnly
- if true
'Debug' tool window won't be shown until debug process is suspended on a breakpointExecutionException