From e659686dd8fdf196df23523c0caa01146ce25f3a Mon Sep 17 00:00:00 2001 From: Pawel Piech Date: Tue, 17 Mar 2009 18:38:26 +0000 Subject: [PATCH] [269048] - [pda][run control] The suspend command is not enabled on the thread when it's running. --- .../org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java index a15977bd412..4ead1401aa1 100644 --- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java +++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java @@ -468,7 +468,7 @@ public class PDARunControl extends AbstractDsfService if (!fVMSuspended) { ThreadInfo state = fThreads.get(threadContext.getID()); if (state != null) { - return !state.fSuspended && state.fSuspendPending; + return !state.fSuspended && !state.fSuspendPending; } } } else {