Solved QML Debug Protocol
in the documentation (http://doc.qt.io/qt-5/qtquick-debugging.html) it is stated that QML code can enable a debug interface via a TCP port. And that applications that implement the binary interface can be use this interface to do debugging tasks.
Where is this binary protocol documented? I searched around und can't find any information on it.
Diracsbracket last edited by Diracsbracket
Does this help:?
To enable remote C++ debugging with either GDB or CDB:
As the doc states, you need the appropriate "helper processes" to be running on the target.
When using GDB, this would e.g. be
gdbserver, which implements the GDB serial protocol.
As for the QML debugging part, if your app is built with QML debugging enabled,
then it will include the necessary debug code in your app which also enables remote JS debugging. It is enabled by launching the remote app with the
-qmljsdebuggercommand line argument:
The implementation of it can be found in the following Qt directory:
Yeah I'm more into the second part of your answer. I want to write my own custom tool that operates on this qml debugging environment. I looked into the qtdeclarative repository and see that there is the implementation of the protocol. There is also the qmldebug directory that has code in it that looks interesting.
Do I have to rework all the information from the code or is there a place where the API is documented?
Thanks for the advice. I posted to the mailing list. In case someone is finding this thread here is the link to the mail list thread: http://lists.qt-project.org/pipermail/interest/2018-November/031615.html