History

ScriptValue::repr, detailed representation of a script value for logging

Ada committed 8 months ago

Commit abd6bae1 parent cdb75078 files · +143 −8Browse files

Showing the changes to libraries/script-engine/src/ScriptManager.cpp (1 of 8 files). Show all

Unified · Split

libraries/script-engine/src/ScriptManager.cpp+1−1
@@ -146,7 +146,7 @@ static ScriptValue debugPrint(ScriptContext* context, ScriptEngine* engine) { · 145 unmodified lines
146146 if (i > 0) {
147147 message += " ";
148148 }
149− message += context->argument(i).toString();
149+ message += context->argument(i).repr();
150150 }
151151
152152 // was this generated by a script engine? If we don't recognize it then send the message and exit