blob: 3c3102527065d5339809a33b61aae6666e0aaf60 [file] [log] [blame]
/*
*(c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.core.model;
import org.eclipse.core.runtime.CoreException;
/**
*
* A breakpoint that suspend execution when a particular address is reached.
*
* @since Aug 21, 2002
*/
public interface ICAddressBreakpoint extends ICLineBreakpoint
{
/**
* Breakpoint attribute storing the address this breakpoint suspends
* execution at (value <code>"org.eclipse.cdt.debug.core.address"</code>).
* This attribute is a <code>String</code>.
*/
public static final String ADDRESS = "org.eclipse.cdt.debug.core.address"; //$NON-NLS-1$
/**
* Returns the address this breakpoint suspends execution at.
*
* @return the address this breakpoint suspends execution at
* @exception CoreException if unable to access the property
* on this breakpoint's underlying marker
*/
public String getAddress() throws CoreException;
/**
* Sets the address this breakpoint suspends execution at.
*
* @param address the address this breakpoint suspends execution at
* @exception CoreException if unable to access the property
* on this breakpoint's underlying marker
*/
public void setAddress( String address ) throws CoreException;
}