debuggger: allow change of display for templated types

This commit is contained in:
hjk
2011-05-17 11:30:44 +02:00
parent 581765055d
commit fb7f576ede
5 changed files with 55 additions and 29 deletions

View File

@@ -3913,7 +3913,7 @@ void GdbEngine::insertData(const WatchData &data0)
void GdbEngine::assignValueInDebugger(const WatchData *data,
const QString &expression, const QVariant &value)
{
if (hasPython()) {
if (hasPython() && !isIntOrFloatType(data->type)) {
QByteArray cmd = "bbedit "
+ data->type.toHex() + ','
+ expression.toUtf8().toHex() + ','