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
30a03f022b
commit
10cf93ffdc
2 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue