about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-20 23:25:19 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-20 23:27:13 -0700
commit7b2d39b8d418d29cc05dc0793c976761c302eadb (patch)
treea51af5ff35f5684ecba8c8fb693947ceac206478 /400.mu
parentfb34909b4eb744811f6da2354667179c108870cb (diff)
downloadmu-7b2d39b8d418d29cc05dc0793c976761c302eadb.tar.gz
an interface approximating stack traces
Diffstat (limited to '400.mu')
-rw-r--r--400.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index a5064018..e7f4c599 100644
--- a/400.mu
+++ b/400.mu
@@ -26,6 +26,7 @@ sig check-strings-equal s: (addr array byte), expected: (addr array byte), msg:
 # debugging
 sig check-stack
 sig show-stack-state
+sig debug-print x: (addr array byte), fg: int, bg: int
 
 # streams
 sig clear-stream f: (addr stream _)