Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime/debug: reimplement Stack and PrintStack using runtime.Stack? #12363

Closed
rsc opened this issue Aug 27, 2015 · 2 comments
Closed

runtime/debug: reimplement Stack and PrintStack using runtime.Stack? #12363

rsc opened this issue Aug 27, 2015 · 2 comments

Comments

@rsc
Copy link
Contributor

rsc commented Aug 27, 2015

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.

@rsc rsc added this to the Go1.6Early milestone Aug 27, 2015
@rsc
Copy link
Contributor Author

rsc commented Aug 27, 2015

Or else we at least need to mark debug.Printstack explicitly deprecated.

@gopherbot
Copy link

CL https://golang.org/cl/14604 mentions this issue.

@golang golang locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants