Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
What is the Debugger Console for in Qt Creator?
Using the debugger (when debugging a program on my Pi2 from a Debian 8 host) works more or less.
But what is the Debugger Console for, and how is it used?
Whenever I try to type something in there, it gives "Can only evaluate during a debug session".
Do you mean what is described here ?
Thanks for reacting, and sorry for my late reply. I forgot about this one.
The thing is, I can do the remote debugging on my Raspberry Pi2 using GDB, and I can set breakpoints, inspect variables, etc. but there is this "Debugger Console" tab in Qt Creator, with a prompt: see this image:
I was wondering about this Debugger console. Can it be used during a remote GDB debugging session? How do I use it? What are the valid commands I can enter at the prompt, etc...
It's been a long time since I've done remote debugging but I don't see why you couldn't do it. The commands should likely be the same as you would use with GDB.
yeckel last edited by
This Debugger Console is most probably just for QML debugging as suggest the text: "Context: Global QML Context" in the screenshot in http://doc.qt.io/qtcreator/creator-quick-tour.html