1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

Fix in the thread created event handler: do nothing if thread has already created.

This commit is contained in:
Mikhail Khodjaiants 2003-01-13 16:17:33 +00:00
parent f3eca643e6
commit b09ffe9f43
2 changed files with 5 additions and 6 deletions

View file

@ -1,3 +1,7 @@
2003-01-13 Mikhail Khodjaiants
Fix in the thread created event handler: do nothing if thread has already created.
* CDebugTarget.java
2003-01-10 Mikhail Khodjaiants
Implementation of address breakpoints.
* ICAddressBreakpoint.java

View file

@ -1432,16 +1432,11 @@ public class CDebugTarget extends CDebugElement
private void handleThreadCreatedEvent( ICDICreatedEvent event )
{
ICDIThread cdiThread = (ICDIThread)event.getSource();
CThread thread= findThread( cdiThread );
CThread thread = findThread( cdiThread );
if ( thread == null )
{
createThread( cdiThread );
}
else
{
thread.disposeStackFrames();
thread.fireChangeEvent( DebugEvent.CONTENT );
}
}
private void handleThreadTerminatedEvent( ICDIDestroyedEvent event )