Skip to content

[lldb] resolving optional crashes lldb(-dap) (clang/windows/msvc) #115216

Closed
@BjornSAIM

Description

@BjornSAIM

When debugging from vscode/cursor using lldb-dap. the debugger will crash when trying to resolve an std::optional. switching the std::optional out with an different implementation (like Optional26 by beman) fixes the problem.

link to a minimal repro: https://github.com/BjornSAIM/lldb-optional-crash
just set a breakpoint anywhere after the assignment to the optional.

clang/lldb/... are all on 19.1.1
Visual Studio 2022 version 17.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions