Translations:KDevelop5/Manual/Debugging programs/23/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 14:51, 7 September 2020
There are two ways to change this on Ubuntu, if you are running a different distribution, your requirements may be different. On Ubuntu, one way is to edit the /etc/sysctl.d/10-ptrace.conf file and change kernel.yama.ptrace_scope to 0. After editing the file run the following command:
sudo service procps restart
You should now be able to attach to a running process.