diff options
author | Darin Wright | 2005-05-20 16:33:12 +0000 |
---|---|---|
committer | Darin Wright | 2005-05-20 16:33:12 +0000 |
commit | dc585cf62f6d239ea45499a8b7e6949f7617d719 (patch) | |
tree | d68f4cbf0520308e814e53a9b374ad2ca4dce0e6 | |
parent | 6a858cbf19651767b1b7f2a86586101a97fc83d9 (diff) | |
download | eclipse.platform.debug-dc585cf62f6d239ea45499a8b7e6949f7617d719.tar.gz eclipse.platform.debug-dc585cf62f6d239ea45499a8b7e6949f7617d719.tar.xz eclipse.platform.debug-dc585cf62f6d239ea45499a8b7e6949f7617d719.zip |
Bug 91786 - top frame annotated as "secondary"
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java index 22fe56aa8..42f8c7759 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java @@ -79,13 +79,13 @@ public class InstructionPointerManager { return; } IThread thread = stackFrame.getThread(); - boolean tos = true; + IStackFrame tos = null; try { - tos = stackFrame.equals(thread.getTopStackFrame()); + tos = thread.getTopStackFrame(); } catch (DebugException de) { } // Create the annotation object - InstructionPointerAnnotation instPtrAnnotation = new InstructionPointerAnnotation(stackFrame, tos); + InstructionPointerAnnotation instPtrAnnotation = new InstructionPointerAnnotation(stackFrame, tos == null || stackFrame.equals(tos)); // Create the Position object that specifies a location for the annotation Position position = null; |