You might need a counter for each enter/exit or something like that and let the stack-unwinder count down.
I meant: you might need to "increment a stack specific counter", but that does not sound practical. I guess it is better to have a more complex stack unwinder.
Co-routines create some problems here. You probably need to trace that they yield.
