ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #13492
Re: debugging from ubuntu-sdk
Hi Frans and all,
may be this does not help your problem, but I had a similar situation:
I wanted to debug some application on ubuntu snappy on beaglebone black.
There is no gdbserver integrated in snappy.
I asked on mailing list "snappy-app-devel" how to do.
Michael Nelson send me a link to Michael Terry's deb2snap at
https://launchpad.net/deb2snap to generate a snappy with gdbserver. May
be this is applicable to ubuntu touch?
Loic Minier suggested to integrate gdbserver into the snappy
distribution and told me to file abug (#1456340) in launchpad.
You may find the mail exchange in the mailing list archive under the
subject "gdbserver in snappy on beaglebone black".
I think it would be a good support for application developers, if
gdbserver is integrated "by default" or by simple "installation of dev
tools" into ubuntu touch and ubuntu snappy.
To my opinion, if we have good documentation and good tools, there will
be more and more developers more productively develop more and more and
more applications... ;-)
Best regards
Hans
On 19/06/2015 19:49, Frans Schreuder wrote:
Hello All,
I am trying to debug my Qt/Qmake application from Ubuntu SDK. I did
install gdbserver on the phone (BQ Aquaris with 15.04).
Some time ago it worked fine (long before OTA4), but since a few weeks I
get this message when starting to debug:
Connecting to remote server failed:
Remote 'g' packet reply is too long:
0000000013f3ffbe7bf3ffbe000000000000000000000000000000000000000000000000000000000000000000000000000000
In the Application Output I get this:
Process
/opt/click.ubuntu.com/.click/users/phablet/osmscout.fransschreuder/lib/arm-linux-gnueabihf/bin/OSMScout
created; pid = 13455
Listening on port 10001
Remote debugging from host 127.0.0.1
Architecture rejected target-supplied description
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the
connection.
Listening on port 10001
Debugging has finished
It may be due to the fact that I installed gdbserver, and afterwards
installed OTA updates, but what would be the right way to use debugging?
And is there a way to fix this?
Thanks...
Frans
--
Best regards
Hans Mayer
References