Skip to content

lldb-dap breakpoint on obj-c catch is not working #144154

Open
@ashgti

Description

@ashgti

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions