1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 01:06: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:
Alain Magloire 2004-11-16 15:31:49 +00:00
parent d5f27d5c45
commit 9891f98c52
2 changed files with 5 additions and 3 deletions

View file

@ -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
Implemented the "equals' method of the "Condition" class.
* cdi/org/eclipse/cdt/debug/mi/core/cdi/Condition.java

View file

@ -108,9 +108,7 @@ public class Breakpoint extends CObject implements ICDILocationBreakpoint {
public void setCondition(ICDICondition newCondition) throws CDIException {
Session session = (Session)getTarget().getSession();
BreakpointManager mgr = session.getBreakpointManager();
if (isEnabled()) {
mgr.setCondition(this, newCondition);
}
mgr.setCondition(this, newCondition);
setCondition0(newCondition);
}