Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java
index b64e0a3ea..6458a323a 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java
@@ -251,6 +251,7 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor {
if (!expression.isValid() || expression.getData() == null) return;
final IChannel channel = model.getLaunch().getChannel();
if (channel.getState() != IChannel.STATE_OPEN) return;
+ if (var_id != null) return;
IExpressions exps = channel.getRemoteService(IExpressions.class);
exps.dispose(expression.getData().getID(), new IExpressions.DoneDispose() {
public void doneDispose(IToken token, Exception error) {

Back to the top