runtime/debug: reimplement Stack and PrintStack using runtime.Stack? #12363
Labels
Milestone
Comments
Or else we at least need to mark debug.Printstack explicitly deprecated. |
CL https://golang.org/cl/14604 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We marked debug.Stack (and implicitly debug.PrintStack) as explicitly deprecated, telling people to use runtime.Stack instead. But runtime.Stack is not as convenient. Perhaps we should make debug.Stack a trivial (but more convenient) wrapper around runtime.Stack and undeprecate it.
The text was updated successfully, but these errors were encountered: