mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Cosmetics
This commit is contained in:
parent
7ef969fe79
commit
963f1bf26e
1 changed files with 12 additions and 12 deletions
|
@ -225,20 +225,20 @@ public class GDBBreakpoints_7_2 extends GDBBreakpoints_7_0
|
||||||
contextBreakpoints.put(reference, newBreakpoint);
|
contextBreakpoints.put(reference, newBreakpoint);
|
||||||
|
|
||||||
// Format the return value
|
// Format the return value
|
||||||
MIBreakpointDMContext dmc = new MIBreakpointDMContext(GDBBreakpoints_7_2.this, new IDMContext[] { context }, reference);
|
MIBreakpointDMContext dmc = new MIBreakpointDMContext(GDBBreakpoints_7_2.this, new IDMContext[] { context }, reference);
|
||||||
drm.setData(dmc);
|
drm.setData(dmc);
|
||||||
|
|
||||||
// Flag the event
|
// Flag the event
|
||||||
getSession().dispatchEvent(new BreakpointAddedEvent(dmc), getProperties());
|
getSession().dispatchEvent(new BreakpointAddedEvent(dmc), getProperties());
|
||||||
|
|
||||||
// Tracepoints are created with no passcount (passcount are not
|
// Tracepoints are created with no passcount (passcount are not
|
||||||
// the same thing as ignore-count, which is not supported by
|
// the same thing as ignore-count, which is not supported by
|
||||||
// tracepoints). We have to set the passcount manually now.
|
// tracepoints). We have to set the passcount manually now.
|
||||||
// Same for commands.
|
// Same for commands.
|
||||||
Map<String,Object> delta = new HashMap<String,Object>();
|
Map<String,Object> delta = new HashMap<String,Object>();
|
||||||
delta.put(MIBreakpoints.PASS_COUNT, getProperty(attributes, MIBreakpoints.PASS_COUNT, 0));
|
delta.put(MIBreakpoints.PASS_COUNT, getProperty(attributes, MIBreakpoints.PASS_COUNT, 0));
|
||||||
delta.put(MIBreakpoints.COMMANDS, getProperty(attributes, MIBreakpoints.COMMANDS, "")); //$NON-NLS-1$
|
delta.put(MIBreakpoints.COMMANDS, getProperty(attributes, MIBreakpoints.COMMANDS, "")); //$NON-NLS-1$
|
||||||
modifyBreakpoint(dmc, delta, drm, false);
|
modifyBreakpoint(dmc, delta, drm, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue