# Revision history [back]

I realized now that I can debug my plugins by using the "Attach to Local Process" function (you can find it under "Run") and attach it to the rqt process. I had to change the ptrace settings to make it work by:

$sudo su -$ echo 0 > /proc/sys/kernel/yama/ptrace_scope

found here: http://blog.mellenthin.de/archives/2010/10/18/gdb-attach-fails-with-ptrace-operation-not-permitted/#comment-141535

Maybe it'll help someone.

I realized now that I can debug my plugins by using the "Attach to Local Process" function (you can find it under "Run") and attach it to the rqt process. I had to change the ptrace settings to make it work by:

$sudo su -$ echo 0 > /proc/sys/kernel/yama/ptrace_scope

found here: http://blog.mellenthin.de/archives/2010/10/18/gdb-attach-fails-with-ptrace-operation-not-permitted/#comment-141535

Maybe it'll help someone.

I realized now that I can debug my plugins by using the "Attach to Local Process" function (you can find it under "Run") and attach it to the rqt process. I had to change the ptrace settings to make it work by:

$sudo su - -$ echo 0 > /proc/sys/kernel/yama/ptrace_scope

found here: http://blog.mellenthin.de/archives/2010/10/18/gdb-attach-fails-with-ptrace-operation-not-permitted/#comment-141535

Maybe it'll help someone. someone.