mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
1. InterruptThread action available from the ThreadsPane (IDEA-23341)
2. ThreadsPane shows running threads and updates their state even if debug VM is not paused 3. tests fixed
This commit is contained in:
@@ -18,6 +18,7 @@ package com.intellij.debugger.engine;
|
||||
import com.intellij.execution.ExecutionException;
|
||||
import com.intellij.execution.configurations.RemoteConnection;
|
||||
import com.intellij.execution.configurations.RunProfileState;
|
||||
import com.sun.jdi.ThreadReference;
|
||||
|
||||
public class DebugProcessAdapter implements DebugProcessListener{
|
||||
//executed in manager thread
|
||||
@@ -44,6 +45,14 @@ public class DebugProcessAdapter implements DebugProcessListener{
|
||||
|
||||
}
|
||||
|
||||
//executed in manager thread
|
||||
public void threadStarted(DebugProcess proc, ThreadReference thread) {
|
||||
}
|
||||
|
||||
//executed in manager thread
|
||||
public void threadStopped(DebugProcess proc, ThreadReference thread) {
|
||||
}
|
||||
|
||||
public void attachException(RunProfileState state, ExecutionException exception, RemoteConnection remoteConnection) {
|
||||
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ package com.intellij.debugger.engine;
|
||||
import com.intellij.execution.ExecutionException;
|
||||
import com.intellij.execution.configurations.RemoteConnection;
|
||||
import com.intellij.execution.configurations.RunProfileState;
|
||||
import com.sun.jdi.ThreadReference;
|
||||
|
||||
import java.util.EventListener;
|
||||
|
||||
@@ -39,5 +40,9 @@ public interface DebugProcessListener extends EventListener{
|
||||
void processAttached(DebugProcess process);
|
||||
|
||||
void attachException(RunProfileState state, ExecutionException exception, RemoteConnection remoteConnection);
|
||||
|
||||
void threadStarted(DebugProcess proc, ThreadReference thread);
|
||||
|
||||
void threadStopped(DebugProcess proc, ThreadReference thread);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user