Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Use runtime.CallersFrames for StackTrace #108

Closed

Conversation

alfred-landrum
Copy link

@alfred-landrum alfred-landrum commented Mar 8, 2017

Given the deprecation warning about runtime.FuncForPC in:
https://docs.google.com/presentation/d/1Wcblp3jpfeKwA0Y4FOmj63PW52M_qmNqlQkNaLj0P5o/edit?usp=sharing

I'd thought I'd see what a shift to use runtime.CallersFrames would look like. I'm not yet sure of the tradeoffs for one or the other, but thought I'd share code that passes existing tests locally in case its of interest.

@davecheney
Copy link
Member

davecheney commented Mar 8, 2017

Please open an issue to track this before slinging code, thank you.

https://github.com/pkg/errors#contributing

@alfred-landrum
Copy link
Author

will do!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants