mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
Set the initial state of a thread according to the state of the underlying CDI thread.
This commit is contained in:
parent
cb264b92c7
commit
e6c2b40bdc
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-10-19 Mikhail Khodjaiants
|
||||
Set the initial state of a thread according to the state of the underlying CDI thread.
|
||||
* CThread.java
|
||||
|
||||
2004-10-19 Alain Magloire
|
||||
Fix NPE.
|
||||
* src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java
|
||||
|
|
|
@ -102,7 +102,7 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
|
|||
*/
|
||||
public CThread( CDebugTarget target, ICDIThread cdiThread ) {
|
||||
super( target );
|
||||
setState( CDebugElementState.RESUMED );
|
||||
setState( cdiThread.isSuspended() ? CDebugElementState.SUSPENDED : CDebugElementState.RESUMED );
|
||||
setCDIThread( cdiThread );
|
||||
fConfig = getCDISession().getConfiguration();
|
||||
initialize();
|
||||
|
|
Loading…
Add table
Reference in a new issue