mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
[269048] - [pda][run control] The suspend command is not enabled on the thread when it's running.
This commit is contained in:
parent
4eacd375ab
commit
e659686dd8
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue