mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
separate the suspend and the resume option.
This commit is contained in:
parent
3e24919f41
commit
4f4e3ba0cf
3 changed files with 38 additions and 3 deletions
|
@ -28,11 +28,18 @@ public interface ICDIConfiguration
|
||||||
boolean supportsDisconnect();
|
boolean supportsDisconnect();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this session supports suspend/resume.
|
* Returns whether this session supports suspend.
|
||||||
*
|
*
|
||||||
* @return whether this session supports suspend/resume
|
* @return whether this session supports suspend.
|
||||||
*/
|
*/
|
||||||
boolean supportsSuspendResume();
|
boolean supportsSuspend();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns whether this session supports Resume.
|
||||||
|
*
|
||||||
|
* @return whether this session supports Resume.
|
||||||
|
*/
|
||||||
|
boolean supportsResume();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this session supports restarting.
|
* Returns whether this session supports restarting.
|
||||||
|
|
|
@ -108,4 +108,18 @@ public class Configuration implements ICDIConfiguration {
|
||||||
return fAttached ? false : true;
|
return fAttached ? false : true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @see org.eclipse.cdt.debug.core.cdi.ICDIConfiguration#supportsResume()
|
||||||
|
*/
|
||||||
|
public boolean supportsResume() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see org.eclipse.cdt.debug.core.cdi.ICDIConfiguration#supportsSuspend()
|
||||||
|
*/
|
||||||
|
public boolean supportsSuspend() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,4 +55,18 @@ public class CoreFileConfiguration implements ICDIConfiguration {
|
||||||
public boolean supportsExpressionEvaluation() {
|
public boolean supportsExpressionEvaluation() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @see org.eclipse.cdt.debug.core.cdi.ICDIConfiguration#supportsResume()
|
||||||
|
*/
|
||||||
|
public boolean supportsResume() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see org.eclipse.cdt.debug.core.cdi.ICDIConfiguration#supportsSuspend()
|
||||||
|
*/
|
||||||
|
public boolean supportsSuspend() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue