[Lldb-commits] [lldb] Allow setting breakpoints in objc++ files (PR #159779)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 19 06:41:14 PDT 2025
https://github.com/jcaselman-keysight created https://github.com/llvm/llvm-project/pull/159779
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
>From e8f1d01521be9eacead145d7f45f87e9dc788626 Mon Sep 17 00:00:00 2001
From: Justin Caselman <justin.caselman at keysight.com>
Date: Fri, 19 Sep 2025 07:37:13 -0600
Subject: [PATCH] Allow setting breakpoints in objc++ files
---
lldb/tools/lldb-dap/package.json | 4 ++++
1 file changed, 4 insertions(+)
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",
More information about the lldb-commits
mailing list