| /******************************************************************************* |
| * Copyright (c) 2000, 2006 IBM Corporation and others. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.dltk.debug.core.model; |
| |
| import org.eclipse.core.runtime.CoreException; |
| |
| /** |
| * A method entry breakpoint suspends execution on the first executable line of |
| * a method when entered. |
| */ |
| public interface IScriptMethodEntryBreakpoint extends IScriptLineBreakpoint { |
| // Method name |
| String getMethodName() throws CoreException; |
| |
| // Break on entry |
| boolean breakOnEntry() throws CoreException; |
| |
| void setBreakOnEntry(boolean value) throws CoreException; |
| |
| // Break on exit |
| boolean breakOnExit() throws CoreException; |
| |
| void setBreakOnExit(boolean value) throws CoreException; |
| |
| // Entry breakpoint id |
| String getEntryBreakpointId() throws CoreException; |
| |
| void setEntryBreakpointId(String id) throws CoreException; |
| |
| // Exit breakpoint id |
| String getExitBreakpointId() throws CoreException; |
| |
| void setExitBreakpointId(String id) throws CoreException; |
| } |