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 16:31:07 +00:00
parent 30a03f022b
commit 10cf93ffdc
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2002-10-29 Mikhail Khodjaiants
Fix for bug 25283.
* CDebugTarget.java: in 'setCurrentThread' method set the 'isCurrent' flag to false for the currently current thread.
2002-10-29 Mikhail Khodjaiants
Implementing editing features of the memory view.
* IFormattedMemoryBlockRow.java

View file

@ -1830,8 +1830,13 @@ public class CDebugTarget extends CDebugElement
}
try
{
getCDITarget().setCurrentThread( ((CThread)thread).getCDIThread() );
((CThread)thread).setCurrent( true );
CThread oldThread = (CThread)getCurrentThread();
if ( !oldThread.equals( thread ) )
{
oldThread.setCurrent( false );
getCDITarget().setCurrentThread( ((CThread)thread).getCDIThread() );
((CThread)thread).setCurrent( true );
}
}
catch( CDIException e )
{