diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp index 35c2d220f35..23162320368 100644 --- a/src/plugins/debugger/debuggerprotocol.cpp +++ b/src/plugins/debugger/debuggerprotocol.cpp @@ -843,6 +843,11 @@ void DebuggerCommand::arg(const char *value) args = arr; } +void DebuggerCommand::arg(const char *name, bool value) +{ + args = addToJsonObject(args, name, value); +} + void DebuggerCommand::arg(const char *name, const QJsonValue &value) { args = addToJsonObject(args, name, value); diff --git a/src/plugins/debugger/debuggerprotocol.h b/src/plugins/debugger/debuggerprotocol.h index f85746a006a..d7849a5b927 100644 --- a/src/plugins/debugger/debuggerprotocol.h +++ b/src/plugins/debugger/debuggerprotocol.h @@ -58,6 +58,7 @@ public: DebuggerCommand(const QByteArray &f, int fl, const Callback &cb) : function(f), callback(cb), flags(fl) {} void arg(const char *value); + void arg(const char *name, bool value); void arg(const char *name, int value); void arg(const char *name, qlonglong value); void arg(const char *name, qulonglong value);