Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorMikhail Khodjaiants2002-10-30 19:39:17 +0000
committerMikhail Khodjaiants2002-10-30 19:39:17 +0000
commitd21b0d328af536aae93ca49d9c07bea2df5c7c41 (patch)
tree0641aec1e8ff60fde8b9d2b278d5826ceda5a07a /debug
parent10cf93ffdc48b352248d340a193da1db85891dfe (diff)
downloadorg.eclipse.cdt-d21b0d328af536aae93ca49d9c07bea2df5c7c41.tar.gz
org.eclipse.cdt-d21b0d328af536aae93ca49d9c07bea2df5c7c41.tar.xz
org.eclipse.cdt-d21b0d328af536aae93ca49d9c07bea2df5c7c41.zip
Fix for bug 25283
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java
index 8b25597dd53..f30b738433e 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java
@@ -343,11 +343,10 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen
try
{
((ISwitchToThread)((IThread)element).getDebugTarget()).setCurrentThread( (IThread)element );
- // The sameThread() method is doing the wrong calculations, let the implementation handle it.
- //if ( !sameThread( (IDebugElement)element ) )
- //{
- // ((ISwitchToThread)((IThread)element).getDebugTarget()).setCurrentThread( (IThread)element );
- //}
+ if ( !sameThread( (IDebugElement)element ) )
+ {
+ ((ISwitchToThread)((IThread)element).getDebugTarget()).setCurrentThread( (IThread)element );
+ }
}
catch( DebugException e )
{

Back to the top