diff options
author | Marc Khouzam | 2015-10-06 18:21:35 +0000 |
---|---|---|
committer | Marc Khouzam | 2015-10-06 18:21:35 +0000 |
commit | 4d5e9569e6df723fb696b3c0d6076d339525d98b (patch) | |
tree | 7adb581bfda41137c9ced67b5f2f47979c39fc5e /dsf | |
parent | ef8906cc1d814dfc03d2a087c9f1fff05c1b08a4 (diff) | |
download | org.eclipse.cdt-4d5e9569e6df723fb696b3c0d6076d339525d98b.tar.gz org.eclipse.cdt-4d5e9569e6df723fb696b3c0d6076d339525d98b.tar.xz org.eclipse.cdt-4d5e9569e6df723fb696b3c0d6076d339525d98b.zip |
Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Diffstat (limited to 'dsf')
-rw-r--r-- | dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java index 17d3d2a4ffe..bd32bd44f52 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java @@ -136,17 +136,17 @@ public abstract class AbstractThreadVMNode extends AbstractExecutionContextVMNod } runControl.getExecutionContexts(contDmc, - new ViewerDataRequestMonitor<IExecutionDMContext[]>(getSession().getExecutor(), update){ - @Override - public void handleCompleted() { - if (!isSuccess()) { - handleFailedUpdate(update); - return; - } - fillUpdateWithVMCs(update, getData()); - update.done(); + new ViewerDataRequestMonitor<IExecutionDMContext[]>(getSession().getExecutor(), update){ + @Override + public void handleCompleted() { + if (!isSuccess()) { + handleFailedUpdate(update); + return; } - }); + fillUpdateWithVMCs(update, getData()); + update.done(); + } + }); } @@ -242,13 +242,13 @@ public abstract class AbstractThreadVMNode extends AbstractExecutionContextVMNod } } else if (e instanceof SteppingTimedOutEvent && ((SteppingTimedOutEvent)e).getDMContext() instanceof IContainerDMContext) - { - // 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 - // a delta for all the threads. - rm.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfStatusConstants.NOT_SUPPORTED, "", null)); //$NON-NLS-1$ - rm.done(); - return; + { + // 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 + // a delta for all the threads. + rm.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfStatusConstants.NOT_SUPPORTED, "", null)); //$NON-NLS-1$ + rm.done(); + return; } else if (e instanceof FullStackRefreshEvent && ((FullStackRefreshEvent)e).getDMContext() instanceof IContainerDMContext) { @@ -424,5 +424,4 @@ public abstract class AbstractThreadVMNode extends AbstractExecutionContextVMNod rm.done(); } } - } |