1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for bug 25283

This commit is contained in:
Mikhail Khodjaiants 2002-10-30 19:39:17 +00:00
parent 10cf93ffdc
commit d21b0d328a

View file

@ -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 )
{