Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-03-27 08:58:49 +0000
committerTobias Schwarz2014-03-27 08:58:49 +0000
commit119269dff89988a5aa9f5bac329a0e13b3390609 (patch)
treea31804d8f1f5b802b451981214c1a6513b955c9d /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui
parentdd0df3ca1ae0a58bfc8653920fcdcd2652e164be (diff)
downloadorg.eclipse.tcf-119269dff89988a5aa9f5bac329a0e13b3390609.tar.gz
org.eclipse.tcf-119269dff89988a5aa9f5bac329a0e13b3390609.tar.xz
org.eclipse.tcf-119269dff89988a5aa9f5bac329a0e13b3390609.zip
Target Explorer: fix debugger not started after attaching a context
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java
index 80da7e5bf..ca8eb7136 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java
@@ -12,6 +12,7 @@ package org.eclipse.tcf.te.tcf.launch.ui.internal.services;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
import org.eclipse.debug.core.DebugPlugin;
@@ -157,7 +158,7 @@ public class DebugService extends AbstractService implements IDebugService {
@Override
public void run() {
try {
- DebugUITools.buildAndLaunch(finConfig, ILaunchManager.DEBUG_MODE, monitor);
+ DebugUITools.buildAndLaunch(finConfig, ILaunchManager.DEBUG_MODE, monitor != null ? monitor : new NullProgressMonitor());
}
catch (Exception e) {
callback.done(DebugService.this, StatusHelper.getStatus(e));

Back to the top