IDebugElement[] threads= target.getChildren();
IThread[] threads= target.getThreads();
	protected JDIDebugTarget getContext() throws DebugException{		JDIDebugTarget target= getContextFromUI();		if (target == null) {			target= getContextFromModel();		}		if (target == null) {			return null;		}		IDebugElement[] threads= target.getChildren();		boolean threadSuspended= false;		for (int i= 0; i < threads.length; i++) {			IThread thread= (IThread) threads[i];			if (thread.canResume()) {				threadSuspended=true;				break;			}		}		if (threadSuspended) {			return target;		}		return null;	}