From 281bc8399ec5802eb8e94e50c70e7a9a8bb34f7c Mon Sep 17 00:00:00 2001 From: Mitten Orvan Date: Tue, 7 May 2024 21:17:39 +0300 Subject: [PATCH] Document the possibility to enable custom pretty-printers in GDB GDB pretty-printers were recently added for a couple Godot types. They make the GDB debugger variable display more readable, so let's document their existence for developers. cf. godot/godot#91280 --- .../development/configuring_an_ide/visual_studio_code.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contributing/development/configuring_an_ide/visual_studio_code.rst b/contributing/development/configuring_an_ide/visual_studio_code.rst index 102363e37d4..919f7e04273 100644 --- a/contributing/development/configuring_an_ide/visual_studio_code.rst +++ b/contributing/development/configuring_an_ide/visual_studio_code.rst @@ -112,6 +112,10 @@ To run and debug the project you need to create a new configuration in the ``lau "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true + }, + { + "description": "Load custom pretty-printers for Godot types.", + "text": "source ${workspaceRoot}/misc/scripts/godot_gdb_pretty_print.py" } ], "preLaunchTask": "build"