JDIDebugTarget target= getContext();
IJavaDebugTarget target = getContext();
	public void run() {		try {			JDIDebugTarget target= getContext();			if (target == null) {				fEditor.getSite().getShell().getDisplay().beep();				return;			}			ISelectionProvider sp= fEditor.getSelectionProvider();			if (sp == null) {				return;			}			ITextSelection ts= (ITextSelection) sp.getSelection();			int lineNumber= ts.getStartLine() + 1;			IJavaElement je= (IJavaElement) fEditor.getElementAt(ts.getOffset());			IType type= null;			if (je instanceof IType) {				type= (IType) je;			} else				if (je instanceof IMember) {					type= ((IMember) je).getDeclaringType();				}			if (type == null) {				return;			}				IBreakpoint breakpoint= null;			try {				breakpoint= JDIDebugModel.createRunToLineBreakpoint(type, lineNumber, -1, -1);			} catch (DebugException de) {				errorDialog(de.getStatus());				return;			} 			target.breakpointAdded(breakpoint);			IThread[] threads= target.getThreads(); 			for (int i= 0; i < threads.length; i++) {				IThread thread= threads[i];				if (thread.canResume()) {					try {						thread.resume();					} catch (DebugException de) {					}					break;				}			}		} catch(DebugException de) {		}	}