IDebugElement[] threads= dt.getChildren(); for (int i= 0; i < threads.length; i++) { IThread thread= (IThread)threads[i]; if (thread.isSuspended()) { return thread.getTopStackFrame();
try { IDebugElement[] threads= dt.getChildren(); for (int i= 0; i < threads.length; i++) { IThread thread= (IThread)threads[i]; if (thread.isSuspended()) { return thread.getTopStackFrame(); }
	protected IStackFrame getContextFromDebugTarget(IDebugTarget dt) {		if (!dt.isTerminated()) {			IDebugElement[] threads= dt.getChildren();			for (int i= 0; i < threads.length; i++) {				IThread thread= (IThread)threads[i];				if (thread.isSuspended()) {					return thread.getTopStackFrame();				}			}		}		return null;	}