summaryrefslogtreecommitdiff
path: root/platform/xdebugger-api/src/com/intellij/xdebugger/XDebuggerManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/xdebugger-api/src/com/intellij/xdebugger/XDebuggerManager.java')
-rw-r--r--platform/xdebugger-api/src/com/intellij/xdebugger/XDebuggerManager.java14
1 files changed, 11 insertions, 3 deletions
diff --git a/platform/xdebugger-api/src/com/intellij/xdebugger/XDebuggerManager.java b/platform/xdebugger-api/src/com/intellij/xdebugger/XDebuggerManager.java
index 08a30664f7dc..cb65b84af9d9 100644
--- a/platform/xdebugger-api/src/com/intellij/xdebugger/XDebuggerManager.java
+++ b/platform/xdebugger-api/src/com/intellij/xdebugger/XDebuggerManager.java
@@ -58,16 +58,24 @@ public abstract class XDebuggerManager {
public abstract XDebugSession getCurrentSession();
/**
- * Start a new debugging session. Use this method only if debugging is started by using standard 'Debug' action i.e. this methods is called
- * from {@link com.intellij.execution.runners.ProgramRunner#execute} method. Otherwise use {@link #startSessionAndShowTab} method
+ * @deprecated use {@link #startSession(com.intellij.execution.runners.ExecutionEnvironment, XDebugProcessStarter)} instead
+ * to remove in IDEA 15
*/
@NotNull
- public abstract XDebugSession startSession(@NotNull final ProgramRunner runner,
+ @Deprecated
+ public abstract XDebugSession startSession(@NotNull ProgramRunner runner,
@NotNull ExecutionEnvironment env,
@Nullable RunContentDescriptor contentToReuse,
@NotNull XDebugProcessStarter processStarter) throws ExecutionException;
/**
+ * Start a new debugging session. Use this method only if debugging is started by using standard 'Debug' action i.e. this methods is called
+ * from {@link com.intellij.execution.runners.ProgramRunner#execute} method. Otherwise use {@link #startSessionAndShowTab} method
+ */
+ @NotNull
+ public abstract XDebugSession startSession(@NotNull ExecutionEnvironment environment, @NotNull XDebugProcessStarter processStarter) throws ExecutionException;
+
+ /**
* Start a new debugging session and open 'Debug' tool window
* @param sessionName title of 'Debug' tool window
*/