How do you Print to console? in SNEX
-
I think this has been answered somewhere else,
but it is obscure and I couldn't find the post.To those who have knowledge:
How can I print to console inside a snex node? I've had no success so far and I need it for debugging.
-
G griffinboy marked this topic as a question on
-
@griffinboy Console.print works in snex too but you have to enable debug mode (the bug icon in the snex editor).
Also make sure that you don‘t clog the console. Printing a line every sample will blow up the console pretty fast.
I usually resort to the script watch table for debugging (and if I need to inspect a temp variable I just temporarily make it a member variable of the class so that it shows up in the list).
-
@Christoph-Hart
Thanks, I'll look into the script watch table.I've not used it yet, I'll have a go!
Edit:
Yep that's ideal, thank you: -
G griffinboy has marked this topic as solved on