Hello Костадин, gdb's "exec-wrapper" option should help you.
BR, Martin ________________________________ From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Костадин Дамянов [maxmi...@gmail.com] Sent: Sunday, January 22, 2017 8:45 PM To: devel@lists.sailfishos.org Subject: [SailfishDevel] Debugging a segmentation fault Hello. I am trying to build a project that is not developed in Sailfish IDE. I managed to build in the SDK VM and deploy it on the emulator VM. My problem is that the app segfaults on startup and I do not know how to debug the crash. One way to launch it is by running xdg-open /usr/shared/applications/harbour-<application>.desktop It starts loading the application and it crashes at start so I have no time to attach gdb. My question is: is there a way to start the app in such a way as to connect gdb. Is it possible to connect gdb remotely?
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org