Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2012-07-30 11:53:25 +0000
committerTobias Schwarz2012-07-30 11:54:30 +0000
commit536d403344246d60efa9823cf79b692dbe083345 (patch)
tree61df5bba685f6156f539d375c57a7b0075523ac8 /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui
parentaaa0b76751e2279d6b2c7fa8d73d0bcb324ef629 (diff)
downloadorg.eclipse.tcf-536d403344246d60efa9823cf79b692dbe083345.tar.gz
org.eclipse.tcf-536d403344246d60efa9823cf79b692dbe083345.tar.xz
org.eclipse.tcf-536d403344246d60efa9823cf79b692dbe083345.zip
Target Explorer: add launch attribute for context attach steps
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, 3 insertions, 0 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 1541960d8..95d457cbe 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
@@ -68,6 +68,9 @@ public class DebugService extends AbstractService implements IDebugService {
if (delegate != null) {
// create an empty launch configuration specification to initialize all attributes with their default defaults.
ILaunchSpecification launchSpec = delegate.getLaunchSpecification(launchConfigType.getIdentifier(), launchSelection);
+ for (String key : data.getProperties().keySet()) {
+ launchSpec.addAttribute(key, data.getProperty(key));
+ }
delegate.validate(launchSpec);
if (launchSpec != null && launchSpec.isValid()) {
ILaunchConfiguration[] launchConfigs = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurations(launchConfigType);

Back to the top