On Sat, Oct 16, 2010 at 07:13:11PM +0300, Juha Ruotsalainen wrote:
> Hi there!
> 
> Can someone more knowledgeable than I give a good answer how to proceed with 
> this problem:
> I'm running Ubuntu 10.10 and Qt Creator cannot debug there due to 10.10's 
> heightened security.

*sigh* 
 
> Currently I can debug with:
> a) sudo qtcreator (don't like this)
> b) First echoing 0 to /proc/sys/kernel/yama/ptrace_scope then running 
> qtcreator

Is any of that needed when using plain gdb?

> I'm looking for a solution where I could launch qtcreator without any extra 
> gimmicks. 
> Would setting setuid bit for qtcreator cut it?
> 
> Oh, I also tried setcap cap_sys_prace=eip qtcreator but that didn't work 
> because
> qtcreator cannot find libextensions. If I change the 'eip' to plain 'i', 
> qtcreator starts
> but still debugging results in 'Ptrace: not permitted'.
> 
> Any ideas?

Ask the distributor?

Andre'
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to