Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-06-22 18:25:10 +0000
committerDarin Wright2006-06-22 18:25:10 +0000
commit8218b9cf6a033c8b4c3e3e9ffd2f37eec9de28dc (patch)
treecda3103cc93f7b3a7aee3457db270b83cb47eab8
parenta105cdd5c88f6e89e150eb0a7226ad98e4401c62 (diff)
downloadeclipse.platform.debug-TARGET_321.tar.gz
eclipse.platform.debug-TARGET_321.tar.xz
eclipse.platform.debug-TARGET_321.zip
[target 321] Bug 144253 [source lookup] Stack Frame CHANGE events no longer force a source lookupTARGET_321
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupService.java3
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugTargetProxy.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/StackFrameEventHandler.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java2
4 files changed, 7 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupService.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupService.java
index 3d1295d0d..5049fab46 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupService.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupService.java
@@ -61,7 +61,8 @@ public class SourceLookupService implements IDebugContextListener, ISourceDispla
/* (non-Javadoc)
* @see org.eclipse.debug.ui.contexts.IDebugContextListener#contextChanged(org.eclipse.jface.viewers.ISelection, org.eclipse.ui.IWorkbenchPart)
*/
- public void contextChanged(ISelection selection, IWorkbenchPart part) {
+ public void contextChanged(ISelection selection, IWorkbenchPart part) {
+ contextActivated(selection, part);
}
/* (non-Javadoc)
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugTargetProxy.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugTargetProxy.java
index 6aefdccc4..e5531c2b7 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugTargetProxy.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugTargetProxy.java
@@ -60,7 +60,9 @@ public class DebugTargetProxy extends EventHandlerModelProxy {
* @see org.eclipse.debug.internal.ui.viewers.update.EventHandlerModelProxy#createEventHandlers()
*/
protected DebugEventHandler[] createEventHandlers() {
- return new DebugEventHandler[] { new DebugTargetEventHandler(this), new ThreadEventHandler(this) };
+ ThreadEventHandler threadEventHandler = new ThreadEventHandler(this);
+ return new DebugEventHandler[] { new DebugTargetEventHandler(this), threadEventHandler,
+ new StackFrameEventHandler(this, threadEventHandler) };
}
/* (non-Javadoc)
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/StackFrameEventHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/StackFrameEventHandler.java
index e0a9b3d9c..c43b072e5 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/StackFrameEventHandler.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/StackFrameEventHandler.java
@@ -19,7 +19,7 @@ import org.eclipse.debug.internal.ui.viewers.provisional.ModelDelta;
/**
* Default stack frame event handler for the debug view.
*
- * @since 3.3
+ * @since 3.2.1
*/
public class StackFrameEventHandler extends DebugEventHandler {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java
index 21dffe850..3ea57bb7a 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java
@@ -147,7 +147,7 @@ public class ThreadEventHandler extends DebugEventHandler {
}
}
- private ModelDelta buildRootDelta() {
+ protected ModelDelta buildRootDelta() {
return new ModelDelta(DebugPlugin.getDefault().getLaunchManager(), IModelDelta.NO_CHANGE);
}

Back to the top