Translations:KDevelop5/Manual/Debugging programs/23/en: Difference between revisions

From KDE UserBase Wiki
(Importing a new version from external source)
 
(No difference)

Latest revision as of 14:51, 7 September 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KDevelop5/Manual/Debugging programs)
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 
<tt>/etc/sysctl.d/10-ptrace.conf</tt> file and change <tt>kernel.yama.ptrace_scope</tt> to 0. 
After editing the file run the following command:
{{Input|1=<nowiki>sudo service procps restart</nowiki>}} You should now be able to attach to a running process.

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.