FAQ
Use http://golang.org/pkg/debug/gosym/ .It's what we use in Gondola to
format stack traces and seems to work reliably enough, e.g.:

<https://lh5.googleusercontent.com/-3H6denZ4xTY/Uqsq8FBdVZI/AAAAAAAAAbo/XIsNYJSL7zE/s1600/Screen+Shot+2013-12-13+at+16.41.06.png>

On Friday, December 13, 2013 3:47:35 AM UTC+1, snyh xia wrote:

I need this information to dynamically generate an xml file to description
the code which I just run.

Before today I were think the paramters name is removed at compile time.
Today I find the pkg's .a file has stored this information, so I think
there maybe has an way to fetch it at runtime.


--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 13, '13 at 2:47a
activeDec 14, '13 at 10:54a
posts4
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase