| /******************************************************************************* |
| * Copyright (c) 2000, 2005 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; |
| import org.eclipse.debug.core.model.IWatchpoint; |
| |
| /** |
| * A breakpoint on a field. If a watchpoint is an access watchpoint, it will |
| * suspend execution when its field is accessed. If a watchpoint is a |
| * modification watchpoint, it will suspend execution when its field is |
| * modified. |
| */ |
| public interface IScriptWatchpoint extends IScriptLineBreakpoint, IWatchpoint { |
| /** |
| * Returns the name of the field associated with this watchpoint |
| * |
| * @return field the name of the field on which this watchpoint is installed |
| * @exception CoreException |
| * if unable to access the property on this breakpoint's |
| * underlying marker |
| */ |
| String getFieldName() throws CoreException; |
| } |