================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits