Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-02-19 05:08:05 -0500
committerTobias Schwarz2014-02-19 05:08:05 -0500
commit9d64b0e4aee33e8b3b6b19b6f6d314bf80b3de97 (patch)
tree39ccd0c89c44d93c90aed325417681aab1a1b4db
parent75f2f3f52fd0eaa1ea1e701b3015aa1f7f65cbb8 (diff)
downloadorg.eclipse.tcf-9d64b0e4aee33e8b3b6b19b6f6d314bf80b3de97.tar.gz
org.eclipse.tcf-9d64b0e4aee33e8b3b6b19b6f6d314bf80b3de97.tar.xz
org.eclipse.tcf-9d64b0e4aee33e8b3b6b19b6f6d314bf80b3de97.zip
Target Explorer: change way to start launch to not be blocked when build
is running
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java7
1 files changed, 6 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 0d4196d3b..04fa18e70 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
@@ -156,7 +156,12 @@ public class DebugService extends AbstractService implements IDebugService {
DisplayUtil.safeAsyncExec(new Runnable() {
@Override
public void run() {
- DebugUITools.launch(finConfig, ILaunchManager.DEBUG_MODE);
+ try {
+ DebugUITools.buildAndLaunch(finConfig, ILaunchManager.DEBUG_MODE, monitor);
+ }
+ catch (Exception e) {
+ callback.done(DebugService.this, StatusHelper.getStatus(e));
+ }
}
});
} else {

Back to the top