[Vala] glib backtrace



Hi Michael,

PS: Has anyone used the glib backgrace_symbols() function[0] to generate a stack trace in Vala?

[0] - <https://www.gnu.org/software/libc/manual/html_node/Backtraces.html>


I have (and I’m responsible for their bindings in linux.vapi).

FSO has stalled for a couple of years, so I don’t know whether this still compiles,
but check https://github.com/freesmartphone/cornucopia/blob/master/libfsoframework/fsobasics/utilities.vala 
<https://github.com/freesmartphone/cornucopia/blob/master/libfsoframework/fsobasics/utilities.vala>
for an example using the backtrace functionality.

Cheers,

Mickey.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]