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:
parent
10cf93ffdc
commit
d21b0d328a
1 changed files with 4 additions and 5 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue