From 2ed013b6b3fb699db49b2af7d82a516ce496742d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Garc=C3=ADa-Dom=C3=ADnguez?= Date: Wed, 3 Jul 2024 11:40:04 +0100 Subject: [PATCH] DSPThread: cannot be suspended if program is terminated (#1033) --- org.eclipse.lsp4e.debug/META-INF/MANIFEST.MF | 2 +- .../src/org/eclipse/lsp4e/debug/debugmodel/DSPThread.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.lsp4e.debug/META-INF/MANIFEST.MF b/org.eclipse.lsp4e.debug/META-INF/MANIFEST.MF index c3596e77d..1abe6bcf5 100644 --- a/org.eclipse.lsp4e.debug/META-INF/MANIFEST.MF +++ b/org.eclipse.lsp4e.debug/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Debug Adapter client for Eclipse IDE (Incubation) Bundle-SymbolicName: org.eclipse.lsp4e.debug;singleton:=true -Bundle-Version: 0.15.8.qualifier +Bundle-Version: 0.15.9.qualifier Bundle-Activator: org.eclipse.lsp4e.debug.DSPPlugin Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, diff --git a/org.eclipse.lsp4e.debug/src/org/eclipse/lsp4e/debug/debugmodel/DSPThread.java b/org.eclipse.lsp4e.debug/src/org/eclipse/lsp4e/debug/debugmodel/DSPThread.java index a9bea4dab..e0d226030 100644 --- a/org.eclipse.lsp4e.debug/src/org/eclipse/lsp4e/debug/debugmodel/DSPThread.java +++ b/org.eclipse.lsp4e.debug/src/org/eclipse/lsp4e/debug/debugmodel/DSPThread.java @@ -195,7 +195,7 @@ public void suspend() throws DebugException { @Override public boolean isSuspended() { - return isSuspended; + return !isTerminated() && isSuspended; } @Override