diff options
author | Jared Burns | 2002-05-29 17:08:37 +0000 |
---|---|---|
committer | Jared Burns | 2002-05-29 17:08:37 +0000 |
commit | d0a890b1fd46595a4c6257e8a64512372b398f35 (patch) | |
tree | 72910efdad61b98e9f14863f66969cb9036546c0 /org.eclipse.debug.ui | |
parent | d35765c4de2f27163af7b1f1e329f0b454ca557b (diff) | |
download | eclipse.platform.debug-d0a890b1fd46595a4c6257e8a64512372b398f35.tar.gz eclipse.platform.debug-d0a890b1fd46595a4c6257e8a64512372b398f35.tar.xz eclipse.platform.debug-d0a890b1fd46595a4c6257e8a64512372b398f35.zip |
Bug 18188 - Inspect is broken
Diffstat (limited to 'org.eclipse.debug.ui')
2 files changed, 21 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionViewEventHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionViewEventHandler.java index 1d860f6a1..42bfaba3a 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionViewEventHandler.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionViewEventHandler.java @@ -7,6 +7,7 @@ package org.eclipse.debug.internal.ui.views.expression; import java.util.List; +import org.eclipse.debug.core.DebugEvent; import org.eclipse.debug.core.DebugPlugin; import org.eclipse.debug.core.IExpressionListener; import org.eclipse.debug.core.model.IExpression; @@ -94,4 +95,10 @@ public class ExpressionViewEventHandler extends VariablesViewEventHandler implem }; getView().asyncExec(r); } + + /** + * Override the superclass method. Do nothing. + */ + protected void doHandleResumeEvent(DebugEvent event) { + } } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesViewEventHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesViewEventHandler.java index 51962aedc..cfa8ffe64 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesViewEventHandler.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesViewEventHandler.java @@ -55,14 +55,24 @@ public class VariablesViewEventHandler extends AbstractDebugEventHandler { } break; case DebugEvent.RESUME: - if (!event.isStepStart() && !event.isEvaluation()) { - // Clear existing variables from the view - getViewer().setInput(null); - } + doHandleResumeEvent(event); } } } + /** + * Clear the variables immediately upon resume. + */ + protected void doHandleResumeEvent(DebugEvent event) { + if (!event.isStepStart() && !event.isEvaluation()) { + // Clear existing variables from the view + getViewer().setInput(null); + } + } + + + + protected VariablesView getVariablesView() { return (VariablesView)getView(); } |