Top-rated recipes tagged "backtrace"http://code.activestate.com/recipes/tags/backtrace/top/2010-12-20T06:57:29-08:00ActiveState Code Recipesbacktrace2line - stack traces with source file name and line numbers (Python)
2010-12-20T06:57:29-08:00Jean Brouwershttp://code.activestate.com/recipes/users/2984142/http://code.activestate.com/recipes/534147-backtrace2line-stack-traces-with-source-file-name-/
<p style="color: grey">
Python
recipe 534147
by <a href="/recipes/users/2984142/">Jean Brouwers</a>
(<a href="/recipes/tags/backtrace/">backtrace</a>, <a href="/recipes/tags/backtrace_symbols_fd/">backtrace_symbols_fd</a>, <a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/stack/">stack</a>, <a href="/recipes/tags/stacktrace/">stacktrace</a>).
Revision 3.
</p>
<p>This recipe reads a file containing stack traces from Linux' backtrace functions and extends each stack frame line with the source file name and line number. Usage and an example are included.</p>