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
146 if (i > 0) {146 if (i > 0) {
147 message += " ";147 message += " ";
148 }148 }
149 message += context->argument(i).toString();149 message += context->argument(i).repr();
150 }150 }
151 151
152 // was this generated by a script engine? If we don't recognize it then send the message and exit152 // was this generated by a script engine? If we don't recognize it then send the message and exit