1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Only set the condition right away if it is enabled.

This commit is contained in:
Alain Magloire 2002-09-03 03:59:42 +00:00
parent 1f2942e78e
commit c95bdf8998

View file

@ -72,7 +72,9 @@ public class Breakpoint extends CObject implements ICDILocationBreakpoint {
* @see org.eclipse.cdt.debug.core.cdi.ICDIBreakpoint#setCondition(ICDICondition)
*/
public void setCondition(ICDICondition condition) throws CDIException {
mgr.setCondition(this, condition);
if (isEnabled()) {
mgr.setCondition(this, condition);
}
this.condition = condition;
}