[Lldb-commits] [lldb] [lldb][lldb-dap] Cleanup breakpoint filters. (PR #87550)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 5 16:10:52 PDT 2024
================
@@ -1628,7 +1628,14 @@ void request_initialize(const llvm::json::Object &request) {
body.try_emplace("supportsEvaluateForHovers", true);
// Available filters or options for the setExceptionBreakpoints request.
llvm::json::Array filters;
+ std::string triple =
+ std::string(g_dap.debugger.GetSelectedPlatform().GetTriple());
for (const auto &exc_bp : g_dap.exception_breakpoints) {
+ // Skipping objc breakpoint filters if not working on macos.
+ if (exc_bp.language == lldb::eLanguageTypeObjC &&
+ triple.find("macos") == std::string::npos) {
----------------
bulbazord wrote:
In addition to what Jim said above, this might not always work. For example, there are more apple triples (e.g. `arm64-apple-ios`)
https://github.com/llvm/llvm-project/pull/87550
More information about the lldb-commits
mailing list