Within QT Creator - Sailfish IDE I try to use the debug function, towards my Xperia 10 III with Sailfish on it. I am getting following error:
22:13:31: Checking available ports…
22:13:31: Found 101 free ports.
22:13:31: Starting gdbserver --multi --once :10000…
22:13:31: Waiting for gdbserver…
bash: exec: line 0: gdbserver: not found
22:13:31: Application finished with exit code 127.
When I try to install gdbserver on my Sailfish device, I get
devel-su pkcon gdbserver
Command failed: Option ‘gdbserver’ is not supported
Although installation worked well, when trying to debug, I now get “The GDB process terminated unexpectedly (exit code 1)” in the Sailfish SDK, and the application exits immediately on my Sailfish device. Should I do some update on my pc too?
Other info:
Application output
19:54:12: Checking available ports…
19:54:12: Found 101 free ports.
19:54:12: Starting gdbserver --multi --once :10000…
19:54:12: Waiting for gdbserver…
Listening on port 10000
19:54:12: Debugging /usr/bin/Testapp001 -qmljsdebugger=port:10001,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation …
Compile output:
Testapp001-0.1-1.aarch64.rpm
sent 133,716 bytes received 35 bytes 89,167.33 bytes/sec
total size is 133,556 speedup is 1.00
Installing Testapp001-0.1-1.aarch64.rpm
Please confirm installation on device.
Installation successful
19:54:12: The process “/home/ajonck/bin/SailfishOS/bin/sfdk” exited normally.
19:54:12: Elapsed time: 00:14.