On Wed Apr 29 09:50:13 2026 +0000, Alexandre Julliard wrote:
That's the PE version, but you are running on the Unix side, the code is in dlls/ntdll/unix/debug.c. Ok, sorry, I was wrong about that.
The early call is just to ensure the channel is initialized once on the Wine side, so the `LOG` macro can rely on the lightweight `__WINE_GET_DEBUGGING()` checks. I plan to move this into the createDesktopView startup path (through ioctl) in follow-up commits, so the logging flags can be synchronized between the Java and Wine processes. In follow-up commits, the Java-invoked code will only interact with Wine through the new transport layer, without invoking any functions outside of `wineandroid.so`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10710#note_138177