[mlpack-git] [mlpack] Log::Fatal should give a backtrace of some sort (#380)
notifications at github.com
Thu Feb 12 10:08:50 EST 2015
Yeah, I found some documentation on libunwind and could implement a simple code to backtrace inside a single file within different functions. Have to try on different classes with functions spread over multiple files.
I still need some help on the Log::Fatal method and how it exits the program. Maybe the backtracing fucntion can be called just before the exit call to see the whole stack.
Link to implementation using libunwind :
Someone who worked on the mlpack / PrefferedStreamOutput file before can try to implement it..
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git