Note: This page is work-in-progress (27 Oct 2010).
This page instructs in debugging N900 device in using a USB connection.
Note: For instructions in debugging Qt applications running on a remote MeeGo device, see Debugging in Qt Creator.
To debug your application on your N900 device using a USB connection:
sudo -i
vim /etc/network/interfaces.
/opt/meego/qemu-arm/bin/qemu-system-arm -M n900 -mtdblock meego-handset-armv7l-qemu-1.0.90.3.20100921.1.img -sd sd-empty -sd meego-handset-armv7l-qemu-1.0.90.3.20100921.1-mmcblk0p.raw -serial stdio -clock unix -redir tcp:6666:10.0.2.15:22
route add default gw 192.168.2.14 usb0
resolv.conf from /etc directory to the corresponding directory on your N900 device:
scp /etc/resolv.conf root@192.168.2.15:/etc/
zypper in gdb-gdbserver