From b4cca890c657028ddb834320e2e0ec6a0bada77e Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Wed, 18 Apr 2018 15:17:24 +0800 Subject: [PATCH] using SIGSTOP (avoid interactive signal blocking) (#2) --- src/platform_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform_posix.cc b/src/platform_posix.cc index 6af30d70..4e9b952f 100644 --- a/src/platform_posix.cc +++ b/src/platform_posix.cc @@ -199,7 +199,7 @@ void TraceMe() { // In gdb, you need to invoke `signal SIGCONT` if you want ccls to continue // after detaching. if (getenv("CCLS_TRACEME")) - raise(SIGTSTP); + raise(SIGSTOP); } std::string GetExternalCommandOutput(const std::vector& command,