mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 09:10:13 +01:00
The docs explain that you must use `--local-lldbinit` in the command line, and include an example of how to run a file_test under lldb from the command line. This PR includes `.lldbinit` file and `lldbinit.py` file which set up our default options, copied from the VSCode launcher. The instructions include settin the `max-string-summary-length`, and we include this in the vscode launcher for lldb, as printing `Dump()` output can easily get truncated otherwise when printing an InstBlockId.
9 lines
416 B
Plaintext
9 lines
416 B
Plaintext
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
command script import external/+llvm_project+llvm-project/llvm/utils/lldbDataFormatters.py
|
|
command script import scripts/lldbinit.py
|
|
settings set escape-non-printables false
|
|
settings set target.max-string-summary-length 10000
|