I am using the QScriptEngine and QScriptEngineDebugger and I was reading the documentation of the QScriptEngine and I saw the following:
“void QScriptEngineDebugger::attachTo ( QScriptEngine * engine ) Attaches to the given engine. The debugger will install a custom agent (using QScriptEngine::setAgent()) to monitor the engine. While the debugger is attached, you should not change the agent; however, if you do have to perform additional monitoring, you must set a proxy agent that forwards all events to the debugger’s agent.”
So what I would like to do is actually monitor the execution of my Script using the Debugger but I would like more information.
Is there any example available for this topic? I couldn’t find any example of the so call “proxy agent” and I don’t know how to start/set it.
Thanks in advance any kind of help is welcome :O