mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
new method allowProgramInterruption()
This commit is contained in:
parent
8106ea8702
commit
2ce5e5a378
1 changed files with 34 additions and 21 deletions
|
@ -5,17 +5,20 @@
|
||||||
|
|
||||||
package org.eclipse.cdt.debug.core.cdi;
|
package org.eclipse.cdt.debug.core.cdi;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.cdi.model.*;
|
import org.eclipse.cdt.debug.core.cdi.model.ICDIBreakpoint;
|
||||||
|
import org.eclipse.cdt.debug.core.cdi.model.ICDICatchpoint;
|
||||||
|
import org.eclipse.cdt.debug.core.cdi.model.ICDILocationBreakpoint;
|
||||||
|
import org.eclipse.cdt.debug.core.cdi.model.ICDIWatchpoint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* The breakpoint manager manages the collection of breakpoints
|
* The breakpoint manager manages the collection of breakpoints
|
||||||
* in the debug session.
|
* in the debug session.
|
||||||
*
|
* Auto update is off by default.
|
||||||
* @since Jul 9, 2002
|
* @since Jul 9, 2002
|
||||||
*/
|
*/
|
||||||
public interface ICDIBreakpointManager extends ICDISessionObject
|
public interface ICDIBreakpointManager extends ICDIManager {
|
||||||
{
|
|
||||||
/**
|
/**
|
||||||
* Returns a collection of all breakpoints set for this session.
|
* Returns a collection of all breakpoints set for this session.
|
||||||
* Returns an empty array if no breakpoints are set.
|
* Returns an empty array if no breakpoints are set.
|
||||||
|
@ -77,10 +80,12 @@ public interface ICDIBreakpointManager extends ICDISessionObject
|
||||||
* @return a breakpoint
|
* @return a breakpoint
|
||||||
* @throws CDIException on failure. Reasons include:
|
* @throws CDIException on failure. Reasons include:
|
||||||
*/
|
*/
|
||||||
ICDILocationBreakpoint setLocationBreakpoint( int type,
|
ICDILocationBreakpoint setLocationBreakpoint(
|
||||||
|
int type,
|
||||||
ICDILocation location,
|
ICDILocation location,
|
||||||
ICDICondition condition,
|
ICDICondition condition,
|
||||||
String threadId ) throws CDIException;
|
String threadId)
|
||||||
|
throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a watchpoint for the given expression.
|
* Sets a watchpoint for the given expression.
|
||||||
|
@ -91,10 +96,12 @@ public interface ICDIBreakpointManager extends ICDISessionObject
|
||||||
* @return a watchpoint
|
* @return a watchpoint
|
||||||
* @throws CDIException on failure. Reasons include:
|
* @throws CDIException on failure. Reasons include:
|
||||||
*/
|
*/
|
||||||
ICDIWatchpoint setWatchpoint( int type,
|
ICDIWatchpoint setWatchpoint(
|
||||||
|
int type,
|
||||||
int watchType,
|
int watchType,
|
||||||
String expression,
|
String expression,
|
||||||
ICDICondition condition ) throws CDIException;
|
ICDICondition condition)
|
||||||
|
throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a catchpoint for the given catch event.
|
* Sets a catchpoint for the given catch event.
|
||||||
|
@ -104,18 +111,24 @@ public interface ICDIBreakpointManager extends ICDISessionObject
|
||||||
* @return a catchpoint
|
* @return a catchpoint
|
||||||
* @throws CDIException on failure. Reasons include:
|
* @throws CDIException on failure. Reasons include:
|
||||||
*/
|
*/
|
||||||
ICDICatchpoint setCatchpoint( int type,
|
ICDICatchpoint setCatchpoint(
|
||||||
|
int type,
|
||||||
ICDICatchEvent event,
|
ICDICatchEvent event,
|
||||||
String expression,
|
String expression,
|
||||||
ICDICondition condition ) throws CDIException;
|
ICDICondition condition)
|
||||||
|
throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Allow the manager to interrupt the target
|
||||||
|
* if when setting the breakopoint the program was running.
|
||||||
|
*/
|
||||||
|
void allowProgramInterruption(boolean allow);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a ICDICondition
|
* Return a ICDICondition
|
||||||
*/
|
*/
|
||||||
ICDICondition createCondition(int ignoreCount, String expression);
|
ICDICondition createCondition(int ignoreCount, String expression);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a ICDILocation
|
* Returns a ICDILocation
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue