mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Changes in the breakpoint settings.
This commit is contained in:
parent
fa45945774
commit
3ea6d4fd2a
3 changed files with 11 additions and 18 deletions
|
@ -21,6 +21,7 @@ package org.eclipse.cdt.debug.core.cdi;
|
||||||
*/
|
*/
|
||||||
public interface ICBreakpoint extends ICSessionObject
|
public interface ICBreakpoint extends ICSessionObject
|
||||||
{
|
{
|
||||||
|
final static public int REGULAR = 0x0;
|
||||||
final static public int TEMPORARY = 0x1;
|
final static public int TEMPORARY = 0x1;
|
||||||
final static public int HARDWARE = 0x2;
|
final static public int HARDWARE = 0x2;
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,6 @@ public interface ICBreakpointManager extends ICSessionObject
|
||||||
* @param type - a combination of TEMPORARY and HARDWARE or 0
|
* @param type - a combination of TEMPORARY and HARDWARE or 0
|
||||||
* @param location - the location
|
* @param location - the location
|
||||||
* @param condition - the condition or <code>null</code>
|
* @param condition - the condition or <code>null</code>
|
||||||
* @param enabled - whether this breakpoint should be enabled
|
|
||||||
* @param threadId - the thread identifier if this is
|
* @param threadId - the thread identifier if this is
|
||||||
* a thread-specific breakpoint or <code>null</code>
|
* a thread-specific breakpoint or <code>null</code>
|
||||||
* @return a breakpoint
|
* @return a breakpoint
|
||||||
|
@ -61,7 +60,6 @@ public interface ICBreakpointManager extends ICSessionObject
|
||||||
ICLocationBreakpoint setLocationBreakpoint( int type,
|
ICLocationBreakpoint setLocationBreakpoint( int type,
|
||||||
ICLocation location,
|
ICLocation location,
|
||||||
ICCondition condition,
|
ICCondition condition,
|
||||||
boolean enabled,
|
|
||||||
String threadId ) throws CDIException;
|
String threadId ) throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -70,28 +68,24 @@ public interface ICBreakpointManager extends ICSessionObject
|
||||||
* @param watchType - a combination of READ and WRITE
|
* @param watchType - a combination of READ and WRITE
|
||||||
* @param expression - the expression to watch
|
* @param expression - the expression to watch
|
||||||
* @param condition - the condition or <code>null</code>
|
* @param condition - the condition or <code>null</code>
|
||||||
* @param enabled - whether this watchpoint should be enabled
|
|
||||||
* @return a watchpoint
|
* @return a watchpoint
|
||||||
* @throws CDIException on failure. Reasons include:
|
* @throws CDIException on failure. Reasons include:
|
||||||
*/
|
*/
|
||||||
ICWatchpoint setWatchpoint( int type,
|
ICWatchpoint setWatchpoint( int type,
|
||||||
int watchType,
|
int watchType,
|
||||||
String expression,
|
String expression,
|
||||||
ICCondition condition,
|
ICCondition condition ) throws CDIException;
|
||||||
boolean enabled ) throws CDIException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a catchpoint for the given catch event.
|
* Sets a catchpoint for the given catch event.
|
||||||
* @param type - a combination of TEMPORARY and HARDWARE or 0
|
* @param type - a combination of TEMPORARY and HARDWARE or 0
|
||||||
* @param event - the event to catch
|
* @param event - the event to catch
|
||||||
* @param condition - the condition or <code>null</code>
|
* @param condition - the condition or <code>null</code>
|
||||||
* @param enabled - whether this catchpoint should be enabled
|
|
||||||
* @return a catchpoint
|
* @return a catchpoint
|
||||||
* @throws CDIException on failure. Reasons include:
|
* @throws CDIException on failure. Reasons include:
|
||||||
*/
|
*/
|
||||||
ICCatchpoint setCatchpoint( int type,
|
ICCatchpoint setCatchpoint( int type,
|
||||||
ICCatchEvent event,
|
ICCatchEvent event,
|
||||||
String expression,
|
String expression,
|
||||||
ICCondition condition,
|
ICCondition condition ) throws CDIException;
|
||||||
boolean enabled ) throws CDIException;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
*/
|
*/
|
||||||
package org.eclipse.cdt.debug.core.cdi;
|
package org.eclipse.cdt.debug.core.cdi;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.cdi.model.ICInstruction;
|
import org.eclipse.cdt.debug.core.cdi.model.ICInstruction;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,7 +28,7 @@ public interface ICLocation
|
||||||
*
|
*
|
||||||
* @return the source file of this location
|
* @return the source file of this location
|
||||||
*/
|
*/
|
||||||
File getFile();
|
String getFile();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the function of this location or <code>null</code>
|
* Returns the function of this location or <code>null</code>
|
||||||
|
|
Loading…
Add table
Reference in a new issue