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:
Eugene Zhuravlev
2010-09-08 08:27:25 +04:00
parent 4e94a38f4c
commit fb8ddd084b
22 changed files with 382 additions and 62 deletions
@@ -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);
}