Qt 6.11 is out! See what's new in the release
blog
QJSEngine variables in Locals window while debugging
-
I have a simple program:
#include <QCoreApplication> #include <QJSEngine> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QJSEngine engine; engine.evaluate("var foo = 3;"); //breakpoint return a.exec(); }When I run debugging and step to breakpoint, my locals window looks like this:

Is there a way, how can I see variables in js engine in this window too? Or in other window?
I've read QML Debugger Console can evaluate JavaScript expressions, so I tried:

But it does nothing.