From decb2dc0e9f1167d5cd8fb4d455305be6b9fdfbe Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 4 Oct 2022 00:17:55 +0100 Subject: initial --- include/debug.inc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 include/debug.inc (limited to 'include/debug.inc') diff --git a/include/debug.inc b/include/debug.inc new file mode 100755 index 0000000..58e7365 --- /dev/null +++ b/include/debug.inc @@ -0,0 +1,27 @@ +#ifndef INC_DEBUG +#define INC_DEBUG ## +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + + Partial Emergence + by Richard Knight 2022 + + Installation submission for the International Csound Conference 2022 + + Debug + If $DEBUG_RUNTIME is set, then exit the performance after that number of seconds +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + + +#ifdef DEBUG_RUNTIME +#define DEBUG ## + +instr debug_exit + prints "Debug caused exit\n" + exitnow +endin +schedule("debug_exit", $DEBUG_RUNTIME, 1) + +#end + +#end + -- cgit v1.2.3