mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 16:55:38 +02:00
Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
ef8906cc1d
commit
4d5e9569e6
1 changed files with 17 additions and 18 deletions
|
@ -136,17 +136,17 @@ public abstract class AbstractThreadVMNode extends AbstractExecutionContextVMNod
|
||||||
}
|
}
|
||||||
|
|
||||||
runControl.getExecutionContexts(contDmc,
|
runControl.getExecutionContexts(contDmc,
|
||||||
new ViewerDataRequestMonitor<IExecutionDMContext[]>(getSession().getExecutor(), update){
|
new ViewerDataRequestMonitor<IExecutionDMContext[]>(getSession().getExecutor(), update){
|
||||||
@Override
|
@Override
|
||||||
public void handleCompleted() {
|
public void handleCompleted() {
|
||||||
if (!isSuccess()) {
|
if (!isSuccess()) {
|
||||||
handleFailedUpdate(update);
|
handleFailedUpdate(update);
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
fillUpdateWithVMCs(update, getData());
|
|
||||||
update.done();
|
|
||||||
}
|
}
|
||||||
});
|
fillUpdateWithVMCs(update, getData());
|
||||||
|
update.done();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -242,13 +242,13 @@ public abstract class AbstractThreadVMNode extends AbstractExecutionContextVMNod
|
||||||
}
|
}
|
||||||
} else if (e instanceof SteppingTimedOutEvent &&
|
} else if (e instanceof SteppingTimedOutEvent &&
|
||||||
((SteppingTimedOutEvent)e).getDMContext() instanceof IContainerDMContext)
|
((SteppingTimedOutEvent)e).getDMContext() instanceof IContainerDMContext)
|
||||||
{
|
{
|
||||||
// The timed out event occurred on a container and not on a thread. Do not
|
// The timed out event occurred on a container and not on a thread. Do not
|
||||||
// return a context for this event, which will force the view model to generate
|
// return a context for this event, which will force the view model to generate
|
||||||
// a delta for all the threads.
|
// a delta for all the threads.
|
||||||
rm.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfStatusConstants.NOT_SUPPORTED, "", null)); //$NON-NLS-1$
|
rm.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfStatusConstants.NOT_SUPPORTED, "", null)); //$NON-NLS-1$
|
||||||
rm.done();
|
rm.done();
|
||||||
return;
|
return;
|
||||||
} else if (e instanceof FullStackRefreshEvent &&
|
} else if (e instanceof FullStackRefreshEvent &&
|
||||||
((FullStackRefreshEvent)e).getDMContext() instanceof IContainerDMContext)
|
((FullStackRefreshEvent)e).getDMContext() instanceof IContainerDMContext)
|
||||||
{
|
{
|
||||||
|
@ -424,5 +424,4 @@ public abstract class AbstractThreadVMNode extends AbstractExecutionContextVMNod
|
||||||
rm.done();
|
rm.done();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue