每次我想要开始调试时,Qt创建者都会报错。以下是错误:无法在ubuntu中使用gdb进行调试
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
我用Google搜索了错误信息,并得到了有关在系统内核的BUG了一些成绩,但我可以在命令行中运行gdb
,所以我不认为这是核心/ GDB相关。
这个错误的原因是什么?
这是什么平台? – TheDarkKnight
@ Merlin069嗯,这是Ubuntu 12.04和QT创作者版本3.0.1。内核版本是3.11 – khajvah