mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +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
|
2004-10-19 Alain Magloire
|
||||||
Fix NPE.
|
Fix NPE.
|
||||||
* src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java
|
* 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 ) {
|
public CThread( CDebugTarget target, ICDIThread cdiThread ) {
|
||||||
super( target );
|
super( target );
|
||||||
setState( CDebugElementState.RESUMED );
|
setState( cdiThread.isSuspended() ? CDebugElementState.SUSPENDED : CDebugElementState.RESUMED );
|
||||||
setCDIThread( cdiThread );
|
setCDIThread( cdiThread );
|
||||||
fConfig = getCDISession().getConfiguration();
|
fConfig = getCDISession().getConfiguration();
|
||||||
initialize();
|
initialize();
|
||||||
|
|
Loading…
Add table
Reference in a new issue