How to debug using gdb on device?
I'm running the SailfishOS IDE on Ubuntu 12.04 x86_64. Debug launching fails on emulator and on device. On #sailfishos I was told that Debug launching is broken for the time being and I should use gdb for debugging.
However when I debug build my app the debugging symbols are missing. How do i fix that?
[nemo@localhost ~]$ gdb /usr/bin/App
GNU gdb (GDB) Mer (7.5.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "armv7hl-meego-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/App...Missing separate debuginfo for /usr/bin/App
Try: zypper install -C "debuginfo(build-id)=f61aba354147136fcd5d3387b357011de4306b68"
(no debugging symbols found)...done.