mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Add brackets
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
5ca4c351df
commit
12bb52805e
1 changed files with 4 additions and 3 deletions
|
@ -51,7 +51,7 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
|
||||||
* generating deltas, even though they are accepted and supported by
|
* generating deltas, even though they are accepted and supported by
|
||||||
* AbstractDMVMProvider for viewing.
|
* AbstractDMVMProvider for viewing.
|
||||||
* The approach I took to support recursive containers for delta generation is to have
|
* The approach I took to support recursive containers for delta generation is to have
|
||||||
* the VMNodes generate their deltas level by level, instead of one whole delta at once.
|
* the VMNodes generate their deltas level by level, instead of one whole delta at once.
|
||||||
* That required changes in identifying which is the correct context for each of the events.
|
* That required changes in identifying which is the correct context for each of the events.
|
||||||
*
|
*
|
||||||
* See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=240208
|
* See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=240208
|
||||||
|
@ -193,7 +193,7 @@ public abstract class AbstractExecutionContextVMNode extends AbstractDMVMNode
|
||||||
}
|
}
|
||||||
|
|
||||||
if (triggeringContext != null && triggeringContext.length > 0){
|
if (triggeringContext != null && triggeringContext.length > 0){
|
||||||
leafEC = triggeringContext[0];
|
leafEC = triggeringContext[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
return leafEC;
|
return leafEC;
|
||||||
|
@ -231,8 +231,9 @@ public abstract class AbstractExecutionContextVMNode extends AbstractDMVMNode
|
||||||
|
|
||||||
// It is possible for a thread node to be an immediate child of a launch node
|
// It is possible for a thread node to be an immediate child of a launch node
|
||||||
// with no container node in between.
|
// with no container node in between.
|
||||||
if (topContainer != null)
|
if (topContainer != null) {
|
||||||
parentDelta.addNode(createVMContext(topContainer), 0, IModelDelta.NO_CHANGE);
|
parentDelta.addNode(createVMContext(topContainer), 0, IModelDelta.NO_CHANGE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (parentDelta.getElement() instanceof IDMVMContext) {
|
else if (parentDelta.getElement() instanceof IDMVMContext) {
|
||||||
IDMVMContext vmContext = (IDMVMContext)parentDelta.getElement();
|
IDMVMContext vmContext = (IDMVMContext)parentDelta.getElement();
|
||||||
|
|
Loading…
Add table
Reference in a new issue