1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

[269048] - [pda][run control] The suspend command is not enabled on the thread when it's running.

This commit is contained in:
Pawel Piech 2009-03-17 18:38:26 +00:00
parent 4eacd375ab
commit e659686dd8

View file

@ -468,7 +468,7 @@ public class PDARunControl extends AbstractDsfService
if (!fVMSuspended) { if (!fVMSuspended) {
ThreadInfo state = fThreads.get(threadContext.getID()); ThreadInfo state = fThreads.get(threadContext.getID());
if (state != null) { if (state != null) {
return !state.fSuspended && state.fSuspendPending; return !state.fSuspended && !state.fSuspendPending;
} }
} }
} else { } else {