Author: Nerixyz Date: 2026-01-12T13:12:23+01:00 New Revision: b574f44a7d5ce968d9fe8e3c3329a1b8062090e2
URL: https://github.com/llvm/llvm-project/commit/b574f44a7d5ce968d9fe8e3c3329a1b8062090e2 DIFF: https://github.com/llvm/llvm-project/commit/b574f44a7d5ce968d9fe8e3c3329a1b8062090e2.diff LOG: [LLDB] Increase level of headings in lldb-dap docs (#175519) The lldb-dap docs had more than one top-level heading (one `#`). All top level headings are shown in the "Using LLDB" list on the left side. In this case, "Supported Features" and "Configuration Settings Reference" showed up there. With this PR, these headings are increased by one level. This also increases the level of "Debug Console" (child of "Supported Features") and "Common/Launch/Attach configurations" (child of "Configuration Settings Reference"). Added: Modified: lldb/docs/use/lldbdap.md Removed: ################################################################################ diff --git a/lldb/docs/use/lldbdap.md b/lldb/docs/use/lldbdap.md index bb2c97c17a169..a4c151a2ff39c 100644 --- a/lldb/docs/use/lldbdap.md +++ b/lldb/docs/use/lldbdap.md @@ -65,7 +65,7 @@ A simple launch configuration may look like See the [Configuration Settings Reference](#configuration-settings-reference) for more information. -# Supported Features +## Supported Features `lldb-dap` supports the following capabilities: @@ -117,7 +117,7 @@ for more information. For more information, see [Debug Adapter Protocol](https://microsoft.github.io/debug-adapter-protocol/). -## Debug Console +### Debug Console The Debug Console allows printing variables / expressions and executing lldb commands. By default, `lldb-dap` tries to auto-detect whether a provided command @@ -129,7 +129,7 @@ The auto-detection mode can be adjusted using the `lldb-dap repl-mode` command in the Debug Console or by adjusting the `--repl-mode [mode]` argument to `lldb-dap`. The supported modes are `variable`, `command` and `auto`. -# Configuration Settings Reference +## Configuration Settings Reference In order for `lldb-dap` to know how to start a debug session a launch or attach configuration may be specified. Different IDEs may have diff erent mechanisms in @@ -137,7 +137,7 @@ place for configuring the launch configuration. For Visual Studio Code, see [Visual Studio Code's Debugging User Documentation](https://code.visualstudio.com/docs/debugtest/debugging). -## Common configurations +### Common configurations For both launch and attach configurations, lldb-dap accepts the following `lldb-dap` specific key/value pairs: @@ -172,7 +172,7 @@ are executed. Commands can be prefixed with `?` or `!` to modify their behavior: with `!` fails, subsequent commands will not be run. This is useful if one of the commands depends on another, as it will stop the chain of commands. -## Launch configurations +### Launch configurations _NOTE:_ Either `program` or `launchCommands` must be specified. @@ -191,7 +191,7 @@ additionally contain the following key/value pairs: | **stdio** | [string] | | The stdio property specifies the redirection targets for the debuggee's stdio streams. A null value redirects a stream to the default debug terminal. String can be a path to file, named pipe or TTY device. If less than three values are provided, the list will be padded with the last value. Specifying more than three values will create additional file descriptors (4, 5, etc.). Supported from lldb-dap 22.0 version. | | **launchCommands** | [string] | | LLDB commands executed to launch the program. | -## Attach configurations +### Attach configurations _NOTE:_ Either `pid`, `program`, `coreFile`, `attachCommands` or`gdb-remote-port` must be specified. _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
