blob: 2f68631e7d0d0cb87ec6865717b4b4a080e0c297 [file] [log] [blame]
/*******************************************************************************
* 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;
}