First of all it's not bug. It's for security purposes. Some things about PTRACE: 1)The PTRACE system is used for debugging. 2)With it, a single user process can attach to any other dumpable process owned by the same user. A PTRACE scope of "0" is the more permissive mode. A scope of "1" limits PTRACE only to direct child processes.
This is the stuff from "/etc/sysctl.d/10-ptrace.conf" file. So for successful debugging with "Qt Creator" you have two options: Option 1: 1. Open "Qt Creator" with superuser privileges. For this open terminal type command "sudo -s" , then enter password. 2.Then enter command "qtcreator". Option 2: 1.Open terminal type "sudo -s", then enter password. 2.Then go to directory "/proc/sys/kernel/yama/" by using "cd" command. 3.In this directory open "ptrace_scope" file by using "gedit ptrace_scope" command. (You can use any editor to edit file I've used here gedit). 4.In this file default value is "1" , so change this value to "0". 5.Save this file and then close it. Now you can surely do debugging in "Qt Creator". That's it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1156674 Title: QtCreator: "ptrace: Operation not permitted." in Debug mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1156674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs