README.md: Add a section on debugging.

This commit is contained in:
Arkadiusz Hiler 2022-06-24 15:09:11 +03:00
parent d95c5cc550
commit 67d504c37e

View File

@ -205,6 +205,20 @@ version of Proton to other users, you must adhere to the terms of these
licenses. licenses.
Debugging
---------
Proton builds have their symbols stripped by default. You can switch to
"debug" beta branch in Steam (search for Proton in your library,
Properties... -> BETAS -> select "debug") or build without stripping (see
[Debug Builds section](#debug-builds)).
The symbols are provided through the accompanying `.debug` files which may
need to be explicitly loaded by the debugging tools. For GDB there's a helper
script `wine/tools/gdbinit.py` (source it) that provides `load-symbol-files`
(or `lsf` for short) command which loads the symbols for all the mapped files.
Runtime Config Options Runtime Config Options
---------------------- ----------------------