Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2004-02-17 13:05:47 -0500
committerMikhail Khodjaiants2004-02-17 13:05:47 -0500
commitcd378febc88e7315ddb2ccfc25b77f12ff3b3cee (patch)
treeeba68996067c645ea52838f4e209903ca9858c70
parentfc47e17ed98b85d6ebd4811123ae98d3f3b50396 (diff)
downloadorg.eclipse.cdt-cd378febc88e7315ddb2ccfc25b77f12ff3b3cee.tar.gz
org.eclipse.cdt-cd378febc88e7315ddb2ccfc25b77f12ff3b3cee.tar.xz
org.eclipse.cdt-cd378febc88e7315ddb2ccfc25b77f12ff3b3cee.zip
Reset the current thread flag when resume.
-rw-r--r--debug/org.eclipse.cdt.debug.core/ChangeLog4
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java2
2 files changed, 6 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog
index 1526694a2d..4f22e03c56 100644
--- a/debug/org.eclipse.cdt.debug.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.core/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-17 Mikhail Khodjaiants
+ Reset the current thread flag when resume.
+ * CThread.java
+
2004-02-16 Mikhail Khodjaiants
Fix for bug 52135: Debugger should indicate which thread triggered breakpoint.
* CThread.java
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java
index 956c65dfc5..c3ecbc320e 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java
@@ -943,6 +943,7 @@ public class CThread extends CDebugElement
}
else
{
+ setCurrent( false );
disposeStackFrames();
fireChangeEvent( DebugEvent.CONTENT );
}
@@ -1207,6 +1208,7 @@ public class CThread extends CDebugElement
}
else
{
+ setCurrent( false );
disposeStackFrames();
events.add( createChangeEvent( DebugEvent.CONTENT ) );
}

Back to the top