[Qt-creator] Remote GDB debugging.
Tim Sander
tim at krieglstein.org
Fri Jun 6 12:14:52 CEST 2014
Hi Tim
> I watched your talk and it looks like exactly what I need but sadly I still
> couldn't get it to work. I set up the baremetal plugin as described here:
>
> http://doc-snapshot.qt-project.org/qtcreator-3.1/creator-developing-baremeta
> l.html
>
> But I had two problems: a) what to use as the debugger, and b) what to use
> in the run settings.
>
> a) As you can see in the screenshot on the linked page they don't define a
> debugger. If you don't do this, when you start debugging it prompts you for
> a debugger executable. In your talk I saw you have a debugger defined, but
> I don't really understand why it needs a debugger executable at all if it
> is just connecting to a remote GDB server.
You should have set up your debugger running listening on the specified port as
in the screenshot.
You should have a BareMetal Kit Setup and a Compiler and a Debugger and a
BareMetal-Device. Then you can just press the Debug button on the left bar.
I have never tried to connect to remote server other than using the debug
button, so chances are hight that this does not work.
> b) The page says you can use the default run settings, but for me that is
> an empty edit box for a custom executable which you are prompted to supply
> when you try to debug the program.
The dialog you are using is unfortunatly not working with embedded devices.
> Please can you explain a bit more?
Please enter a complete kit and use the debug button, that should work.
Keep in mind that you need a debugger with python support.
Best regards
Tim
More information about the Qt-creator
mailing list