Consider provide a simple and standard way to output stack trace text
taozuhong opened this issue · comments
Tao Zuhong commented
Consider provide a simple and standard way to output stack trace text
extern int backtrace_standard (struct backtrace_state *state, int skip, char** buffer, backtrace_error_callback error_callback, void *data);
Ian Lance Taylor commented
How would this be different from backtrace_print
?
Tao Zuhong commented
backtrace_print output stack trace to file, but text buffer is more convenient: save to file or print
Ian Lance Taylor commented
Well, you can do that using backtrace_full
anyhow. I don't think it comes up often enough to add it to the library.