yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06446
Re: [Question #209604]: problem with debug
Question #209604 on Yade changed:
https://answers.launchpad.net/yade/+question/209604
Status: Open => Answered
Klaus Thoeni proposed the following answer:
Hi Donia,
you can solve the problem temporarly (for the current session) by opening a
terminal and typing:
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
If you want to solve it permanently edit the file
/etc/sysctl.d/10-ptrace.conf (you need to be su, so use e.g. sudo) and set
kernel.yama.ptrace_scope = 0. In this case you only need to do this once.
Cheers,
Klaus
On Wed, 26 Sep 2012 07:15:56 PM Donia Marzougui wrote:
> New question #209604 on Yade:
> https://answers.launchpad.net/yade/+question/209604
>
> Hello
>
> I have a problem with debug.
> The compilation was done successfully but when I run the script in Debug
> mode and tried to do "attach to the process" in kdevelop, I had this
> error: ptrace; operation not permitted.
>
> Thanks for any help.
>
> D.Marzougui
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.