Skip to content

Commit 311c19e

Browse files
WardenGnawCopilot
andcommitted
Fix debuginfod enabled default to false
The debuginfod.enabled property defaults to false, not true, matching the cpptools extension source. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d350e01 commit 311c19e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/cpp/launch-json-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ If provided, this explicitly controls hardware breakpoint behavior for remote ta
236236

237237
Controls GDB's [debuginfod](https://sourceware.org/elfutils/Debuginfod.html) behavior for downloading debug symbols from debuginfod servers. This is useful on Linux systems where debuginfod is configured (such as Ubuntu, Fedora, or Arch Linux).
238238

239-
- **enabled**: If `true` (default), GDB's debuginfod support is enabled, allowing it to download debug symbols automatically. Set to `false` to prevent GDB from contacting debuginfod servers, which can be useful if the debuginfod server is unreachable and causing GDB to hang on launch.
239+
- **enabled**: If `true`, GDB's debuginfod support is enabled, allowing it to download debug symbols automatically. Default is `false`, which prevents GDB from contacting debuginfod servers that might be unreachable and cause GDB to hang on launch.
240240
- **timeout**: The timeout in seconds for debuginfod server requests. Default is `30`. Set to `0` to use GDB/libdebuginfod defaults with no override.
241241

242242
**Example:**

0 commit comments

Comments
 (0)