Translations:KDevelop5/Manual/Debugging programs/23/en

From KDE UserBase Wiki
Revision as of 14:51, 7 September 2020 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.