Debugger: Prompt for reload if set/reset binding fails.

QtCreator takes into account the result of message from
qtdeclarative for setting, resetting and updating the method
body.

Task-number: QTCREATORBUG-3264
Change-Id: I15d1a33990175e86bb3f2fee08f75dd5b7b1b628
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Simjees Abraham
2012-06-04 17:17:50 +02:00
committed by Christiaan Janssen
parent d3f3ab0115
commit 80180ba714
5 changed files with 28 additions and 4 deletions

View File

@@ -230,7 +230,10 @@ void BaseEngineDebugClient::messageReceived(const QByteArray &data)
emit result(queryId, exprResult, type);
} else if (type == "WATCH_PROPERTY_R" ||
type == "WATCH_OBJECT_R" ||
type == "WATCH_EXPR_OBJECT_R") {
type == "WATCH_EXPR_OBJECT_R" ||
type == "SET_BINDING_R" ||
type == "RESET_BINDING_R" ||
type == "SET_METHOD_BODY_R") {
bool valid;
ds >> valid;
emit result(queryId, valid, type);