/******************************************************************************* * Copyright (c) 2005, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *******************************************************************************/ package org.eclipse.dltk.internal.debug.core.model.operations; import org.eclipse.dltk.dbgp.exceptions.DbgpException; import org.eclipse.dltk.debug.core.model.IScriptThread; public class DbgpStepReturnOperation extends DbgpOperation { private static final String JOB_NAME = Messages.DbgpStepReturnOperation_stepReturnOperation; public DbgpStepReturnOperation(IScriptThread thread, IResultHandler finish) { super(thread, JOB_NAME, finish); } @Override protected void process() throws DbgpException { callFinish(getCore().stepOut()); } }