1 11 package org.eclipse.jdt.debug.core; 12 13 14 import org.eclipse.core.runtime.IProgressMonitor; 15 import org.eclipse.debug.core.DebugException; 16 import org.eclipse.debug.core.model.IFilteredStep; 17 import org.eclipse.debug.core.model.IThread; 18 19 26 public interface IJavaThread extends IThread, IFilteredStep { 27 28 32 public static final int ERR_THREAD_NOT_SUSPENDED = 100; 33 34 42 public static final int ERR_NESTED_METHOD_INVOCATION = 101; 43 44 55 public static final int ERR_INCOMPATIBLE_THREAD_STATE = 102; 56 57 68 boolean isSystemThread() throws DebugException; 69 82 boolean isOutOfSynch() throws DebugException; 83 95 boolean mayBeOutOfSynch() throws DebugException; 96 104 boolean isPerformingEvaluation(); 105 117 String getThreadGroupName() throws DebugException; 118 119 138 IJavaVariable findVariable(String variableName) throws DebugException; 139 140 160 public void runEvaluation(IEvaluationRunnable evaluation, IProgressMonitor monitor, int evaluationDetail, boolean hitBreakpoints) throws DebugException; 161 162 170 public void queueRunnable(Runnable runnable); 171 172 185 public void terminateEvaluation() throws DebugException; 186 194 public boolean canTerminateEvaluation(); 195 196 206 public IJavaObject getContendedMonitor() throws DebugException; 207 208 217 public IJavaObject[] getOwnedMonitors() throws DebugException; 218 219 227 public boolean hasOwnedMonitors() throws DebugException; 228 229 242 public void stop(IJavaObject exception) throws DebugException; 243 244 251 public IJavaThreadGroup getThreadGroup() throws DebugException; 252 253 260 public boolean isDaemon() throws DebugException; 261 262 269 public int getFrameCount() throws DebugException; 270 271 } 272 | Popular Tags |