[lldb-dev] attach: operation not permitted

Thiago Farina tfarina at chromium.org
Sat Aug 16 14:51:17 PDT 2014


Hi,

I'm trying to attach to a process but haven't had success until now.

Tab 1:
$ out/Debug/chrome --no-sandbox --renderer-startup-dialog
....
[3590:3590:0816/003040:ERROR:child_process.cc(132)] Renderer (3590) paused
waiting for debugger to attach. Send SIGUSR1 to unpause.


Tab 2:
$ ls -l ~/llvm/build/bin/lldb
lrwxrwxrwx 1 tfarina tfarina 10 Aug  2 23:44
/home/tfarina/llvm/build/bin/lldb -> lldb-3.6.0

$ ~/llvm/build/bin/lldb --version
lldb version 3.6.0 (http://llvm.org/git/lldb.git revision
3c9eeefb4022614373ca99f4e95cd869e6b965e4)

$ ~/llvm/build/bin/lldb
(lldb) attach -p 3590
error: attach failed: Operation not permitted

How can I fix this?

Regards,

-- 
Thiago Farina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140816/9d011b92/attachment.html>


More information about the lldb-dev mailing list