Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2004-12-16 16:40:51 -0500
committerMikhail Khodjaiants2004-12-16 16:40:51 -0500
commit7560868e493098ebac5e97b3fa405942901232f2 (patch)
treed62d2967e15ac369e7e5d12ec27701563e07fe2d
parentcb8f20c0da9f2ac2fe1383662d2d0fc72cebc132 (diff)
downloadorg.eclipse.cdt-7560868e493098ebac5e97b3fa405942901232f2.tar.gz
org.eclipse.cdt-7560868e493098ebac5e97b3fa405942901232f2.tar.xz
org.eclipse.cdt-7560868e493098ebac5e97b3fa405942901232f2.zip
Fix for bug 81381: Deadlock when single stepping.
-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.java4
2 files changed, 5 insertions, 3 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog
index 646d36764b..92abb7e668 100644
--- a/debug/org.eclipse.cdt.debug.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.core/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-16 Mikhail Khodjaiants
+ Fix for bug 81381: Deadlock when single stepping.
+ * CThread.java
+
2004-12-08 Mikhail Khodjaiants
Fix for bug 79678: NPE in Expression.
* CExpression.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 8e0b2d7cf6..9e1f565309 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
@@ -174,8 +174,7 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
addStackFrames( frames, 0, depth - getLastStackDepth() );
updateStackFrames( frames, depth - getLastStackDepth(), fStackFrames, frames.length - depth + getLastStackDepth() );
}
- else // depth == getLastStackDepth()
- {
+ else { // depth == getLastStackDepth()
if ( depth != 0 ) {
// same number of frames - if top frames are in different
// function, replace all frames
@@ -246,7 +245,6 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
for( int i = 0; i < length; i++ ) {
CStackFrame frame = (CStackFrame)oldFrames.get( offset );
frame.setCDIStackFrame( newFrames[offset] );
- frame.fireChangeEvent( DebugEvent.STATE );
offset++;
}
}

Back to the top