The following example does not detect any issues (v0.1.10 VSCode extension):
/proc/foo()
set SpacemanDMM_should_not_sleep = TRUE
var/test/test = new /test/sub()
test.baz()
/test/proc/baz()
/test/sub/baz()
bar()
/test/proc/bar()
sleep(1)
It seems this should have been fixed in #214, but the example suggests some cases are missed. The simpler
/proc/foo()
set SpacemanDMM_should_not_sleep = TRUE
var/test/test = new /test/sub()
test.baz()
/test/proc/baz()
/test/sub/baz()
sleep(1)
does detect the sleep.