mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
Fix for bug 83355: The disable/enable breakpoints durning debugging acts weird.
This commit is contained in:
parent
5cf93d3112
commit
91b5d1731d
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-20 Mikhail Khodjaiants
|
||||
Fix for bug 83355: The disable/enable breakpoints durning debugging acts weird.
|
||||
* cdi\org\eclipse\cdt\debug\mi\core\cdi\model\Breakpoint.java
|
||||
* cdi\org\eclipse\cdt\debug\mi\core\cdi\BreakpointManager.java
|
||||
|
||||
2005-01-13 Alain Magloire
|
||||
PR 82764 Fix the the type parsing.
|
||||
* mi/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
|
||||
|
|
|
@ -219,6 +219,7 @@ public class BreakpointManager extends Manager {
|
|||
for (int i = 0; i < miBreakpoints.length; i++) {
|
||||
miBreakpoints[i].setEnabled(true);
|
||||
}
|
||||
breakpoint.setEnabled0(true);
|
||||
// Fire a changed Event.
|
||||
miSession.fireEvent(new MIBreakpointChangedEvent(miSession, numbers[0]));
|
||||
}
|
||||
|
@ -266,6 +267,7 @@ public class BreakpointManager extends Manager {
|
|||
for (int i = 0; i < miBreakpoints.length; i++) {
|
||||
miBreakpoints[i].setEnabled(false);
|
||||
}
|
||||
breakpoint.setEnabled0(false);
|
||||
// Fire a changed Event.
|
||||
miSession.fireEvent(new MIBreakpointChangedEvent(miSession, numbers[0]));
|
||||
}
|
||||
|
|
|
@ -127,7 +127,6 @@ public class Breakpoint extends CObject implements ICDILocationBreakpoint {
|
|||
} else if (on == true && isEnabled() == false) {
|
||||
mgr.enableBreakpoint(this);
|
||||
}
|
||||
setEnabled0(on);
|
||||
}
|
||||
|
||||
public void setEnabled0(boolean on) {
|
||||
|
|
Loading…
Add table
Reference in a new issue