When debugging C++ in Qt creator I get the following error
ptrace: Operation not permitted. Could not attach to the process. Make sure no other debugger traces this process. Check the settings of /proc/sys/kernel/yama/ptrace_scope For more details, see /etc/sysctl.d/10-ptrace.conf
Here is a workaround: Error trying to debug in QtProject
But it is hard to run the same code in the terminal every time I start my PC to use Qt.
What is the permanent solution for this?
c ++ qt linux-kernel qt5 linuxmint
Indra Mar 01 2018-11-14T00: 00Z
source share