[mlpack-git] [mlpack] Add mlpack::backtrace utility. (#535)
Grzegorz Krajewski
notifications at github.com
Thu Mar 3 15:45:25 EST 2016
> + 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";
Done.
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/535/files#r54945533
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160303/1ccf1699/attachment.html>
More information about the mlpack-git
mailing list