gioui.orggioui.org/internal/debug Index | Files

package debug

import "gioui.org/internal/debug"

Package debug provides general debug feature management for Gio, including the ability to toggle debug features using the GIODEBUG environment variable.

Index

Variables

var Text atomic.Bool

Text controls whether the text subsystem has debug logging enabled.

Functions

func Parse

func Parse()

Parse processes the current value of GIODEBUG. If it is unset, it does nothing. Otherwise it process its value, printing usage info the stderr if the value is not understood. Parse will be automatically invoked when the first application window is created, allowing applications to manipulate GIODEBUG programmatically before it is parsed.

Source Files

debug.go

Version
v0.8.0 (latest)
Published
Jan 14, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
47 seconds ago

Tools for package owners.