now that runtime.Stack exists we should encourage its use over runtime/debug's functions.
(Or perhaps runtime/debug.Stack should become a wrapper around runtime.Stack that takes
care of the allocation for you. But probably not.)
See also issue #3845.