Skip to content

Instantly share code, notes, and snippets.

View marbetschar's full-sized avatar
💚
Productivity and XR for Linux

Marco Betschart marbetschar

💚
Productivity and XR for Linux
View GitHub Profile
@matzipan
matzipan / cheatsheet.md
Last active November 1, 2023 22:55
Vala, GLib and GTK+ cheatsheet

Building with debug symbols with cmake

cmake -DCMAKE_BUILD_TYPE=Debug .. should do the trick of building the binaries and including the debug symbols.

Enable debug messages

Set the following environment variable G_MESSAGES_DEBUG=all. This will allow you to see messages you print with debug in Vala.

GtkApplication lifecycle