diff options
| author | Sam Estep <sam@samestep.com> | 2025-07-23 21:34:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-24 01:34:21 +0000 |
| commit | 9666fbcab891156fb058d6a1b8f427ccc3ffecab (patch) | |
| tree | 626de80431a8ee43319f99e128f6144331b9f9a6 /source | |
| parent | 559c8307d7537319c9f2b3f3d386d8b9b147aba3 (diff) | |
Document how to use LLDB in the Slang codebase (#7809)
* Document how to use LLDB in the Slang codebase
* Include `slang_lldb.py` in `.lldbinit`
* Switch from GCC to Clang
* Include a VS Code task to build before debugging
* Fix clangd
Diffstat (limited to 'source')
| -rw-r--r-- | source/core/core_lldb.py | 3 | ||||
| -rw-r--r-- | source/slang/slang_lldb.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/source/core/core_lldb.py b/source/core/core_lldb.py index 05ba0a4db..2857405fd 100644 --- a/source/core/core_lldb.py +++ b/source/core/core_lldb.py @@ -1,7 +1,6 @@ """ This python script provides LLDB formatters for Slang core types. -To use it, add the following line to your ~/.lldbinit file: -command script import /path/to/source/core/core_lldb.py +To use it, see the `docs/debugging.md` file in this repo. """ import lldb diff --git a/source/slang/slang_lldb.py b/source/slang/slang_lldb.py index c1213e830..d4cb3b6f6 100644 --- a/source/slang/slang_lldb.py +++ b/source/slang/slang_lldb.py @@ -1,7 +1,6 @@ """ This python script provides LLDB formatters for Slang IR types. -To use it, add the following line to your ~/.lldbinit file: -command script import /path/to/source/slang/slang_lldb.py +To use it, see the `docs/debugging.md` file in this repo. """ import json |
