Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
xfce:xfdesktop:start [2026/11/23 04:44] – [Debugging Support] kazamxfce:xfdesktop:start [2026/11/23 05:35] (current) – fix markup formatting kevinbowen
Line 55: Line 55:
 ===== Debugging Support ===== ===== Debugging Support =====
  
-Debug behaviour is controlled with Meson's built-in `debug` and `optimization` options,+Debug behaviour is controlled with Meson's built-in ''debug'' and ''optimization'' options,
 normally set through normally set through
-`buildtype`:+''buildtype'':
  
 ^ Argument | Description ^ Argument | Description
-| `-Dbuildtype=debug` | Enables all xfdesktop debug code: `DEBUG=1`, `DEBUG_TRACE=1`, `G_ENABLE_DEBUG`, and `-fstack-protector-strong`. Use this for development and locating bugs. | +| ''-Dbuildtype=debug'' | Enables all xfdesktop debug code: ''DEBUG=1'', ''DEBUG_TRACE=1'', ''G_ENABLE_DEBUG'', and ''-fstack-protector-strong''. Use this for development and locating bugs. | 
-| `-Dbuildtype=debugoptimized` | The project default. Debug symbols with `-O2`, without the extra xfdesktop debug checks. | +| ''-Dbuildtype=debugoptimized'' | The project default. Debug symbols with ''-O2'', without the extra xfdesktop debug checks. | 
-| `-Dbuildtype=release` | `-O3` without debug symbols. The project adds `NDEBUG`, `G_DISABLE_CAST_CHECKS`, and `G_DISABLE_ASSERT`. |+| ''-Dbuildtype=release'' | ''-O3'' without debug symbols. The project adds ''NDEBUG'', ''G_DISABLE_CAST_CHECKS'', and ''G_DISABLE_ASSERT''. |
  
-Furthermore, the `--enable-debug` and `--disable-debug` runtime arguments can be used+Furthermore, the ''--enable-debug'' and ''--disable-debug'' runtime arguments can be used
 to toggle debug messages. to toggle debug messages.