mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +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();
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
|
|
@ -108,4 +108,18 @@ public class Configuration implements ICDIConfiguration {
|
|||
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() {
|
||||
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