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

From KDE UserBase Wiki
(Created page with "В Ubuntu існує два способи змінити це. Якщо ви працюєте у іншому дистрибутиві, ваші вимоги можуть б...")
 
(No difference)

Latest revision as of 06:46, 1 May 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.

В Ubuntu існує два способи змінити це. Якщо ви працюєте у іншому дистрибутиві, ваші вимоги можуть бути іншими. В Ubuntu пеншим способом є редагування файла /etc/sysctl.d/10-ptrace.conf та зміна kernel.yama.ptrace_scope на 0. Після редагування файла віддайте таку команду:

sudo service procps restart

Після цього ви зможете долучатися до запущеного процесу.