<p>In <a href="https://github.com/mlpack/mlpack/pull/535#discussion_r54945533">src/mlpack/core/util/backtrace.cpp</a>:</p>
<pre style='color:#555'>> + stackStr += " recompile with: -g -rdynamic.\n";
> +
> + return stackStr;
> + }
> +
> + for(unsigned int i = 0; i < stack.size(); i++)
> + {
> + frame = stack[i];
> +
> + lineOss << frame.line;
> + it << i + 1;
> +
> + stackStr += "[bt]: (" + it.str() + ") "
> +         + frame.file + ":"
> +         + frame.function + ":"
> +         + lineOss.str() + "\n";
</pre>
<p>Done.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/535/files#r54945533">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFL0ucZKppYwWLhQwcZX4tsVC6dPRks5pp0hlgaJpZM4Hm7uJ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/535/files#r54945533"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>