1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

Added new interfaces to cover the suspend event reasons for breakpoints and watchpoints.

This commit is contained in:
Mikhail Khodjaiants 2002-08-27 21:04:42 +00:00
parent ec5abf24e3
commit b6d9b58b4c
3 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,26 @@
/*
*(c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.core.cdi;
import org.eclipse.cdt.debug.core.cdi.model.ICDIBreakpoint;
/**
*
* Represents an information provided by the session when the program
* stopped by a breakpoint.
*
* @since Aug 27, 2002
*/
public interface ICDIBreakpointHit extends ICDISessionObject
{
/**
* Returns the breakpoint that stopped the program.
*
* @return the breakpoint that stopped the program
*/
ICDIBreakpoint getBreakpoint();
}

View file

@ -0,0 +1,25 @@
/*
*(c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.core.cdi;
import org.eclipse.cdt.debug.core.cdi.model.ICDIWatchpoint;
/**
*
* Represents an information provided by the session when a watchpoint
* is going out of scope.
*
* @since Aug 27, 2002
*/
public interface ICDIWatchpointScope extends ICDISessionObject
{
/**
* Returns the out of scope watchpoint.
*
* @return the watchpoint
*/
ICDIWatchpoint getWatchpoint();
}

View file

@ -0,0 +1,39 @@
/*
*(c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.core.cdi;
import org.eclipse.cdt.debug.core.cdi.model.ICDIWatchpoint;
/**
*
* Represents an information provided by the session when a watchpoint
* is triggered.
*
* @since Aug 27, 2002
*/
public interface ICDIWatchpointTrigger extends ICDISessionObject
{
/**
* Returns the triggered watchpoint.
*
* @return the triggered watchpoint
*/
ICDIWatchpoint getWatchpoint();
/**
* Returns the old value of the watching expression.
*
* @return the old value of the watching expression
*/
String getOldValue();
/**
* Returns the new value of the watching expression.
*
* @return the new value of the watching expression
*/
String getNewValue();
}