diff --git a/src/plugins/debugger/debuggerprotocol.h b/src/plugins/debugger/debuggerprotocol.h
index cf20a30ad44b36dda2d6f33e0e6bacc1664aca33..dd668e86ad776ce6c50a69225a950fe7edcd6de8 100644
--- a/src/plugins/debugger/debuggerprotocol.h
+++ b/src/plugins/debugger/debuggerprotocol.h
@@ -124,6 +124,8 @@ public:
     QByteArray toString(bool multiline = false, int indent = 0) const;
     qulonglong toAddress() const;
     int toInt() const { return m_data.toInt(); }
+    QString toUtf8() const { return QString::fromUtf8(m_data); }
+    QString toLatin1() const { return QString::fromLatin1(m_data); }
     void fromString(const QByteArray &str);
     void fromStringMultiple(const QByteArray &str);