summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggercommand.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-12 13:32:20 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-12 13:32:20 (GMT)
commit5f287af53d146e76a11f23c889d9591d9c0b7b65 (patch)
tree08c2b9ae8260358a8d03621856d7d03fbda776dc /src/scripttools/debugging/qscriptdebuggercommand.cpp
parentc9bddb70cb4804672cedb23dbfb3ca13724f0e68 (diff)
downloadQt-5f287af53d146e76a11f23c889d9591d9c0b7b65.zip
Qt-5f287af53d146e76a11f23c889d9591d9c0b7b65.tar.gz
Qt-5f287af53d146e76a11f23c889d9591d9c0b7b65.tar.bz2
make debugger's tooltip handling asynchronous
Needed for remote debugging.
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggercommand.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebuggercommand.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggercommand.cpp b/src/scripttools/debugging/qscriptdebuggercommand.cpp
index c40bfc4..3ceb0d5 100644
--- a/src/scripttools/debugging/qscriptdebuggercommand.cpp
+++ b/src/scripttools/debugging/qscriptdebuggercommand.cpp
@@ -558,6 +558,16 @@ QScriptDebuggerCommand QScriptDebuggerCommand::contextsCheckpoint()
return cmd;
}
+QScriptDebuggerCommand QScriptDebuggerCommand::getPropertyExpressionValue(
+ int contextIndex, int lineNumber, const QStringList &path)
+{
+ QScriptDebuggerCommand cmd(GetPropertyExpressionValue);
+ cmd.setContextIndex(contextIndex);
+ cmd.setLineNumber(lineNumber);
+ cmd.setAttribute(UserAttribute, path);
+ return cmd;
+}
+
QScriptDebuggerCommand QScriptDebuggerCommand::newScriptObjectSnapshotCommand()
{
QScriptDebuggerCommand cmd(NewScriptObjectSnapshot);