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
Milestone

Comments

@rsc
Copy link
Contributor

@rsc 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 rsc commented Aug 27, 2015

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

@gopherbot
Copy link

@gopherbot gopherbot commented Sep 15, 2015

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

@crawshaw crawshaw closed this in 2d697b2 Sep 16, 2015
@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants