mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 12:25:35 +02:00
Extend the ICDITargetConfiguration interface to identify targets that support thread control, passive variable updating, and runtime type identification.
This commit is contained in:
parent
6072b998aa
commit
26bde110fa
1 changed files with 37 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
package org.eclipse.cdt.debug.core.cdi.model;
|
||||
|
||||
public interface ICDITargetConfiguration2 extends ICDITargetConfiguration {
|
||||
|
||||
/**
|
||||
* Returns whether this target supports thread control, namely whether it
|
||||
* supports suspending/resuming threads individually.
|
||||
*
|
||||
* @return whether this target supports thread control, namely whether it
|
||||
* supports suspending/resuming threads individually.
|
||||
*/
|
||||
boolean supportsThreadControl();
|
||||
|
||||
/**
|
||||
* Returns whether this target supports passive variable updating. If so
|
||||
* targets will not be actively sending variable value change notification
|
||||
* when a thread is suspended but will wait until they are asked to
|
||||
* redisplay the value. Passive variable updating lets a CDI plugin avoid
|
||||
* maintaining its own variable cache and having to keep it in sync with
|
||||
* CDT's. Targets that support this feature will need to be able to detect
|
||||
* when a variable value has changed and fire a changedEvent in its
|
||||
* implementation of ICDIValue.getValueString().
|
||||
*
|
||||
* @return whether this target supports passive variable updating.
|
||||
*/
|
||||
boolean supportsPassiveVariableUpdate();
|
||||
|
||||
/**
|
||||
* Returns whether this target supports runtime type indentification.
|
||||
* If so this means the type of a variable may change when its value changes.
|
||||
*
|
||||
* @return whether this target supports runtime type indentification.
|
||||
* If so this means the type of a variable may change when its value changes.
|
||||
*/
|
||||
boolean supportsRuntimeTypeIdentification();
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue