diff options
Diffstat (limited to 'cpp/090debug')
-rw-r--r-- | cpp/090debug | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/090debug b/cpp/090debug index 08373a49..b6acae9d 100644 --- a/cpp/090debug +++ b/cpp/090debug @@ -7,11 +7,13 @@ assert(Next_recipe_number < _PRINT); :(before "End Primitive Recipe Implementations") case _PRINT: { if (isa_literal(instructions[pc].ingredients[0])) { + trace("run") << "$print: " << instructions[pc].ingredients[0].name; cout << instructions[pc].ingredients[0].name << '\n'; break; } vector<int> result(read_memory(instructions[pc].ingredients[0])); for (size_t i = 0; i < result.size(); ++i) { + trace("run") << "$print: " << result[i]; cout << result[i] << " "; } cout << '\n'; |