[Development] Qt Creator Debug - GDB error

Majid Khan mkhan3189 at gmail.com
Fri Mar 1 15:20:09 CET 2013


Thanks,

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


and contents of file:

kernel.yama.ptrace_scope = 1




On Sat, Mar 2, 2013 at 1:10 AM, Poenitz Andre <Andre.Poenitz at digia.com>wrote:

> Majid Khan wrote:
> > I am trying to debug Qt Creator (working on #7044) but when I debug
> > (its new linux mint 14 Nadia Cinammon) my gdb gives error
> >
> > Starting executable failed:
> > "/home/majid/projects/qtcreator-build/bin/qtcreator.sh": not in
> executable format: File format not recognised
>
> That's the wrong run configuration (the one for the wrapper script,
> not the application itself). Select 'app', not 'bin' in the Target selector
> or under Projects/Run Run configuration.
>
> Andre'
>
>
>


-- 
Majid Khan
http://www.icplusplus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130302/a4c3d9f1/attachment.html>


More information about the Development mailing list