[Vala] glib backtrace
- From: "Dr. Michael Lauer" <mickey vanille de>
- To: Michael Gratton <mike vee net>
- Cc: Vala <vala-list gnome org>
- Subject: [Vala] glib backtrace
- Date: Wed, 22 Nov 2017 12:52:27 +0100
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]