[Lldb-commits] [lldb] Allow setting breakpoints in objc++ files (PR #159779)

via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 19 06:42:05 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: None (jcaselman-keysight)

<details>
<summary>Changes</summary>

Moving this here from https://github.com/llvm/vscode-lldb/pull/3
> With the released verson of the lldb-dap extension, I have to set breakpoints in objcpp (*.mm) files via the debug console (b Myfile.mm:123) or change the detected file type in VSCode to objc or cpp. VSCode should allow setting breakpoints in objcpp files with vscode-lldb with this change to the package.json

---
Full diff: https://github.com/llvm/llvm-project/pull/159779.diff


1 Files Affected:

- (modified) lldb/tools/lldb-dap/package.json (+4) 


``````````diff
diff --git a/lldb/tools/lldb-dap/package.json b/lldb/tools/lldb-dap/package.json
index 6566ba3bdee13..49c62b38c6147 100644
--- a/lldb/tools/lldb-dap/package.json
+++ b/lldb/tools/lldb-dap/package.json
@@ -347,6 +347,9 @@
       {
         "language": "objective-c"
       },
+      {
+        "language": "objective-cpp"
+      },
       {
         "language": "objectpascal"
       },
@@ -375,6 +378,7 @@
           "fortran-modern",
           "nim",
           "objective-c",
+          "objective-cpp",
           "objectpascal",
           "pascal",
           "rust",

``````````

</details>


https://github.com/llvm/llvm-project/pull/159779


More information about the lldb-commits mailing list