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
Next revision
Previous revision
xfce:xfdesktop:start [2026/11/23 04:44] – [Minimum Requirements] kazamxfce:xfdesktop:start [2026/11/23 05:35] (current) – fix markup formatting kevinbowen
Line 55: Line 55:
 ===== Debugging Support ===== ===== Debugging Support =====
  
-xfdesktop currently supports three different levels of debugging support, +Debug behaviour is controlled with Meson's built-in ''debug'' and ''optimization'' options, 
-which can be setup using the configure flag `--enable-debug` (check the output +normally set through 
-of `configure --help`):+''buildtype'':
  
-^ Argument  ^ Description ^ +^ Argument | Description 
-| `yes`     | This is the default for Git snapshot builds. It adds all kinds of checks to the code, and is therefore likely to run slower. Use this for development of xfdesktop and locating bugs in xfdesktop. | +| ''-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. | 
-| `minimum` | This is the default for release builds. **This is the recommended behaviour.** | +| ''-Dbuildtype=debugoptimized'' | The project default. Debug symbols with ''-O2'', without the extra xfdesktop debug checks. | 
-| `no`      | Disables all sanity checks. Don't use this unless you know exactly what you do. |+| ''-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
 +to toggle debug messages.
  
 [[|Back to Top]] [[|Back to Top]]
 ---- ----
- 
  
 ===== Latest Release ===== ===== Latest Release =====