aboutsummaryrefslogtreecommitdiff
path: root/include/debug.inc
blob: 58e736573844f094433b583139d25b2fc698c051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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