mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
2004-11-16 Alain Magloire
Do not check for isEnable() when changing condition. * cdi/org/eclipse/cdt/debug/mi/core/cdi/mode/Breakpoint.java
This commit is contained in:
parent
d5f27d5c45
commit
9891f98c52
2 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-11-16 Alain Magloire
|
||||||
|
Do not check for isEnable() when changing condition.
|
||||||
|
* cdi/org/eclipse/cdt/debug/mi/core/cdi/mode/Breakpoint.java
|
||||||
|
|
||||||
2004-11-12 Mikhail Khodjaiants
|
2004-11-12 Mikhail Khodjaiants
|
||||||
Implemented the "equals' method of the "Condition" class.
|
Implemented the "equals' method of the "Condition" class.
|
||||||
* cdi/org/eclipse/cdt/debug/mi/core/cdi/Condition.java
|
* cdi/org/eclipse/cdt/debug/mi/core/cdi/Condition.java
|
||||||
|
|
|
@ -108,9 +108,7 @@ public class Breakpoint extends CObject implements ICDILocationBreakpoint {
|
||||||
public void setCondition(ICDICondition newCondition) throws CDIException {
|
public void setCondition(ICDICondition newCondition) throws CDIException {
|
||||||
Session session = (Session)getTarget().getSession();
|
Session session = (Session)getTarget().getSession();
|
||||||
BreakpointManager mgr = session.getBreakpointManager();
|
BreakpointManager mgr = session.getBreakpointManager();
|
||||||
if (isEnabled()) {
|
mgr.setCondition(this, newCondition);
|
||||||
mgr.setCondition(this, newCondition);
|
|
||||||
}
|
|
||||||
setCondition0(newCondition);
|
setCondition0(newCondition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue