CLion 2021.2 debug报错 process exited with status -1 (attach failed (Not allowed to attach to process.

Posted 杨博东的博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CLion 2021.2 debug报错 process exited with status -1 (attach failed (Not allowed to attach to process.相关的知识,希望对你有一定的参考价值。

Clion 升级 2021.2 版本后 debug 报错:

process exited with status -1 (attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries, when the attach failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.))

解决方案:

1,在 https://www.jetbrains.com/clion/download/other.html 下载 2021.1 或者之前的版本重新安装。

2,有人已经报过 BUG 了,见此 https://youtrack.jetbrains.com/issue/CPP-26019 (p.s. 可以关注此帖子,或许后续会发修复版本)

以上是关于CLion 2021.2 debug报错 process exited with status -1 (attach failed (Not allowed to attach to process.的主要内容,如果未能解决你的问题,请参考以下文章

CLion 2021.2 debug报错 process exited with status -1 (attach failed (Not allowed to attach to process.

CLion 2021.2 debug报错 process exited with status -1 (attach failed (Not allowed to attach to process.

clion莫名其妙的报错,请各位大神帮忙看下是啥原因

Clion编译 报错 “wchar .h not found” “string .h not found”

clion2021破解版下载安装激活教程

clion debug模式带参数运行程序