mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 11:55:40 +02:00
Fix in the thread created event handler: do nothing if thread has already created.
This commit is contained in:
parent
f3eca643e6
commit
b09ffe9f43
2 changed files with 5 additions and 6 deletions
|
@ -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
|
2003-01-10 Mikhail Khodjaiants
|
||||||
Implementation of address breakpoints.
|
Implementation of address breakpoints.
|
||||||
* ICAddressBreakpoint.java
|
* ICAddressBreakpoint.java
|
||||||
|
|
|
@ -1432,16 +1432,11 @@ public class CDebugTarget extends CDebugElement
|
||||||
private void handleThreadCreatedEvent( ICDICreatedEvent event )
|
private void handleThreadCreatedEvent( ICDICreatedEvent event )
|
||||||
{
|
{
|
||||||
ICDIThread cdiThread = (ICDIThread)event.getSource();
|
ICDIThread cdiThread = (ICDIThread)event.getSource();
|
||||||
CThread thread= findThread( cdiThread );
|
CThread thread = findThread( cdiThread );
|
||||||
if ( thread == null )
|
if ( thread == null )
|
||||||
{
|
{
|
||||||
createThread( cdiThread );
|
createThread( cdiThread );
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
thread.disposeStackFrames();
|
|
||||||
thread.fireChangeEvent( DebugEvent.CONTENT );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleThreadTerminatedEvent( ICDIDestroyedEvent event )
|
private void handleThreadTerminatedEvent( ICDIDestroyedEvent event )
|
||||||
|
|
Loading…
Add table
Reference in a new issue