News for hackers. Stuff that matters.
Re:How Wine Works 101 by nyanpasu64 on Tuesday October 11, 2022 @04:21AM (#33160716)
How did you generate the screenshot of the Windows/Linux call stack? It seems to be running on Windows, from the GDI-style font rendering and Visual Studio-style appearance; is it Visual Studio or a custom program, and can you run the debugger on Linux?
Re:How Wine Works 101 by werat on Tuesday October 11, 2022 @05:37AM (#33161235)
This is Visual Studio with the Stadia debugger extension (https://github.com/googlestadia/vsi-lldb). It runs LLDB on Windows and attaches to a process running on a remote Linux machine (Wine in this case). We have a couple of custom patches to LLDB to support Wine, which are not open source yet, unfortunately. The Wine support is not perfect, but most things work (call stacks, breakpoints, stepping though the code, etc).