From e7cb9319c5f1def9159f9d695618fc316e4694bb Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 17 Jul 2023 13:09:35 -0600 Subject: [PATCH] print hscript when debugging cached AsyncEmbeddedScript --- src/kiss/AsyncEmbeddedScript.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kiss/AsyncEmbeddedScript.hx b/src/kiss/AsyncEmbeddedScript.hx index 8780532..c049c5d 100644 --- a/src/kiss/AsyncEmbeddedScript.hx +++ b/src/kiss/AsyncEmbeddedScript.hx @@ -135,6 +135,8 @@ class AsyncEmbeddedScript { ranHscriptInstruction = true; #end interp.variables['cc'] = cc; + if (printCurrentInstruction) + Prelude.print(hscriptInstructions[instructionPointer]); interp.execute(parser.parseString(hscriptInstructions[instructionPointer])); }