From a4920f1181b2321ae255764103c2cca7be450f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 17 Mar 2023 01:56:54 +0100 Subject: [PATCH] Debugger: Stopping the debugger now kills the debugged process in external debugging mode without crashing if the debugged process does not exist anymore. [DEVELOPMENT ENVIRONMENT] * BUG: Debugger: Stopping the debugger now kills the debugged process in external debugging mode without crashing if the debugged process does not exist anymore. --- app/src/gambas3/.src/Debug/Design.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/gambas3/.src/Debug/Design.module b/app/src/gambas3/.src/Debug/Design.module index 199bc4681..3efc5509b 100644 --- a/app/src/gambas3/.src/Debug/Design.module +++ b/app/src/gambas3/.src/Debug/Design.module @@ -693,7 +693,7 @@ Public Sub Stop() Try $hProcess.Kill $hProcess.Wait(1) Else If $bExtern Then - If ProcessId > 0 Then Signal.Send(ProcessId, Signal.SIGKILL) + If ProcessId > 0 Then Try Signal.Send(ProcessId, Signal.SIGKILL) Endif AfterStop