/******************************************************************************* * Copyright (c) 2007 Nokia 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 * * Contributors: * Nokia - Initial API and implementation * Freescale Semiconductor - Address watchpoints, https://bugs.eclipse.org/bugs/show_bug.cgi?id=118299 *******************************************************************************/ package org.eclipse.cdt.debug.core.cdi.model; import java.math.BigInteger; import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.ICDIAddressLocation; import org.eclipse.cdt.debug.core.cdi.ICDICondition; import org.eclipse.cdt.debug.core.cdi.ICDIFunctionLocation; import org.eclipse.cdt.debug.core.cdi.ICDILineLocation; public interface ICDIBreakpointManagement2 extends ICDIBreakpointManagement { /** * Set a line breakpoint. * * @param type * @param location * @param condition * @param deferred * @param enabled * @return * @throws CDIException */ ICDILineBreakpoint setLineBreakpoint(int type, ICDILineLocation location, ICDICondition condition, boolean deferred, boolean enabled) throws CDIException; /** * Set a function breakpoint. * * @param type * @param location * @param condition * @param deferred * @param enabled * @return * @throws CDIException */ ICDIFunctionBreakpoint setFunctionBreakpoint(int type, ICDIFunctionLocation location, ICDICondition condition, boolean deferred, boolean enabled) throws CDIException; /** * Set an address Breakpoint * * @param type * @param location * @param condition * @param deferred * @param enabled * @return * @throws CDIException */ ICDIAddressBreakpoint setAddressBreakpoint(int type, ICDIAddressLocation location, ICDICondition condition, boolean deferred, boolean enabled) throws CDIException; /** * Set a watchpoint. * * @param type * @param watchType * @param expression * @param condition * @param enabled * @return * @throws CDIException */ ICDIWatchpoint setWatchpoint(int type, int watchType, String expression, ICDICondition condition, boolean enabled) throws CDIException; /** * Set a watchpoint. * * @param type * @param watchType * @param expression * @param memorySpace set to "" for default memorySpace * @param range set to "" for default range * @param condition * @return * @throws CDIException */ ICDIWatchpoint setWatchpoint(int type, int watchType, String expression, String memorySpace, BigInteger range, ICDICondition condition, boolean enabled) throws CDIException; /** * Set an exception point. * * @param clazz * @param stopOnThrow * @param stopOnCatch * @param enabled * @return * @throws CDIException */ ICDIExceptionpoint setExceptionBreakpoint(String clazz, boolean stopOnThrow, boolean stopOnCatch, boolean enabled) throws CDIException; }