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,