Showing the changes to libraries/script-engine/src/ScriptManager.cpp (1 of 8 files). Show all
Unified · Split
| @@ -146,7 +146,7 @@ static ScriptValue debugPrint(ScriptContext* context, ScriptEngine* engine) { · 145 unmodified lines | ||
| 146 | 146 | if (i > 0) { |
| 147 | 147 | message += " "; |
| 148 | 148 | } |
| 149 | − message += context->argument(i).toString(); | |
| 149 | + message += context->argument(i).repr(); | |
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | // was this generated by a script engine? If we don't recognize it then send the message and exit |