<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/144154>144154</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            lldb-dap breakpoint on obj-c catch is not working
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            objective-c,
            lldb-dap
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ashgti
      </td>
    </tr>
</table>

<pre>
    In lldb-dap, while working on updating `setExceptionBreakpoints` to support the filterOptions feature I noticed that obj-c exception catch breakpoints are not being hit for me.

I checked Xcode and it appears to set a breakpoint on '__cxa_begin_catch' for objc, which is different than using `SBTarget::BreakpointCreateForException(eLanguageObjectiveC, /*catch_bp=*/true, /*throw_bp=*/false)` or `(lldb) break set -E objc -w true -h true`
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckkFvozAQhX_NcBkRwUBCOHBI00aqtFIPu4e9RcYM2C3ByB6a7r9fmaabak9GMv7mvTdPhWCHibmB7QNsHxO1iHG-UcEMYpPWdX-a5wnHsWvTTs1AR7waOzJenX-z04BuwmXulMRv2GWB5elD8yzWTQ-e1dvs7CQBdhmKw7DMs_OCYhh7Owr7l_XPgD0rWTzjM05OrOYOxShB176mGvmLiFqJNtjewag8xyfYclRgrGDvPF54A9kBssMzasP6jTv8rV3HqKYOraCaZ1Y-rJpYUH1DRkdA1fmsP9S55cFO53UqULWiXfuqbzFogzZgZ_uePU_RlppwCbcofj78Un5ggeIAxeEextGzEj45_y8ooD3_UNOwqIFf2lfWYt_5GIcAnYAO6_xzO0PxCHQAOolf-H4txrvr9-tejYGB6pi681EL0D6uEKj-dLq6Tp9WM5heMQIxNesJuyzpmqKri1ol3ORVWe_LssrrxDRFsa972lXZri8qKosypzLPFWd9pVTBlNiGMtpmu7zI6-2-qDdVsd-W3BJXe1aseygzvig7bsbx_bJxfkhsCAs3eVnm2zIZVctjWMtI5L6ySDUQAR2B6N5EinX1TeSk7TIEKLPRBgl3slgZufl68d-OP6v1WSgb1g7dOp0sfmyMyBzi6mLEp8GKWdqNdhegU-TfjnT2LmoEOq02AtDp5uS9ob8BAAD__7MRG_I">