mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
[283174] Wrong attribute.
This commit is contained in:
parent
731ac7ed59
commit
9f81e0d77c
1 changed files with 10 additions and 10 deletions
|
@ -418,7 +418,7 @@ public class MIBreakpointsManager extends AbstractDsfService implements IBreakpo
|
||||||
// Install only if the breakpoint is enabled at startup (Bug261082)
|
// Install only if the breakpoint is enabled at startup (Bug261082)
|
||||||
boolean bpEnabled = attributes.get(ICBreakpoint.ENABLED).equals(true) && fBreakpointManager.isEnabled();
|
boolean bpEnabled = attributes.get(ICBreakpoint.ENABLED).equals(true) && fBreakpointManager.isEnabled();
|
||||||
if (bpEnabled)
|
if (bpEnabled)
|
||||||
installBreakpoint(dmc, breakpoint, attributes, new RequestMonitor(getExecutor(), countingRm));
|
installBreakpoint(dmc, breakpoint, attributes, countingRm);
|
||||||
else
|
else
|
||||||
countingRm.done();
|
countingRm.done();
|
||||||
}
|
}
|
||||||
|
@ -1058,7 +1058,7 @@ public class MIBreakpointsManager extends AbstractDsfService implements IBreakpo
|
||||||
@Override
|
@Override
|
||||||
protected void handleSuccess() {
|
protected void handleSuccess() {
|
||||||
installBreakpoint(dmc, (ICBreakpoint) breakpoint,
|
installBreakpoint(dmc, (ICBreakpoint) breakpoint,
|
||||||
attrs, new RequestMonitor(getExecutor(), countingRm));
|
attrs, countingRm);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1666,13 +1666,13 @@ public class MIBreakpointsManager extends AbstractDsfService implements IBreakpo
|
||||||
|
|
||||||
// Check the "critical" attributes
|
// Check the "critical" attributes
|
||||||
if (delta.containsKey(ATTR_DEBUGGER_PATH) // File name
|
if (delta.containsKey(ATTR_DEBUGGER_PATH) // File name
|
||||||
|| delta.containsKey(IMarker.LINE_NUMBER) // Line number
|
|| delta.containsKey(MIBreakpoints.LINE_NUMBER) // Line number
|
||||||
|| delta.containsKey(ICLineBreakpoint.FUNCTION) // Function name
|
|| delta.containsKey(MIBreakpoints.FUNCTION) // Function name
|
||||||
|| delta.containsKey(ICLineBreakpoint.ADDRESS) // Absolute address
|
|| delta.containsKey(MIBreakpoints.ADDRESS) // Absolute address
|
||||||
|| delta.containsKey(ATTR_THREAD_FILTER) // Thread ID
|
|| delta.containsKey(ATTR_THREAD_FILTER) // Thread ID
|
||||||
|| delta.containsKey(ICWatchpoint.EXPRESSION) // Watchpoint expression
|
|| delta.containsKey(MIBreakpoints.EXPRESSION) // Watchpoint expression
|
||||||
|| delta.containsKey(ICWatchpoint.READ) // Watchpoint type
|
|| delta.containsKey(MIBreakpoints.READ) // Watchpoint type
|
||||||
|| delta.containsKey(ICWatchpoint.WRITE)) { // Watchpoint type
|
|| delta.containsKey(MIBreakpoints.WRITE)) { // Watchpoint type
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue