On Fri May 1 08:37:08 2026 +0000, Alexandre Julliard wrote:
Yes, that's what I meant. Instead of using Wine debug channels where all you really need is a couple of flags, just use a couple of flags. I’d prefer to keep this change minimal and avoid adding a separate logging configuration/synchronization layer.
__WINE_GET_DEBUGGING itself is just a lightweight bit check on the channel flags and does not call into any ntdll code once the channel is initialized. Because of that, it’s effectively just a cheap runtime check. The idea here is to reuse that state directly instead of reimplementing a parallel set of flags. In follow-up work I plan to pass the channel flags structure to the Java side as-is, so the logging behavior can stay in sync without additional code for mapping or synchronization. I’m not trying to argue against your suggestion, just to explain the reasoning before changing the behavior. If you’d still prefer separate Android-side flags, I can switch to that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10710#note_138510