[英]Unable to attach Debugger
I want to attach a debugger to see what runtime errors are being thrown by an app on github, Mamute . 我想附加一个调试器来查看github, Mamute上的应用程序正在抛出的运行时错误。 I can't attach my debugger in Netbeans.
我不能在Netbeans中附加我的调试器。 I go to the top menu > Debugger > Attach Debugger > set my PID to 1234...Error:
我转到顶层菜单> Debugger> Attach Debugger>将我的PID设置为1234 ...错误:
Operation not permitted
不允许操作
I saw a solution online to run: 我在网上看到了一个解决方案:
echo 0 > /proc/sys/kernel/yama/ptrace_scope
I tried this and it does not work. 我试过这个并没有用。 My Debian install has no
/proc/sys/kernel/yama/
directory. 我的Debian安装没有
/proc/sys/kernel/yama/
目录。
Online the solution tends to be around turning off ptrace protection. 在线解决方案倾向于关闭ptrace保护。 There's a bug on Debian for this.
Debian上有一个bug。
您需要以root身份运行netbeans
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.