Skip to content

LLDB pretty printers crash with OverflowError #22936

@joelreymont

Description

@joelreymont

Zig Version

0.14.0-dev.3050+d72f3d353

Steps to Reproduce and Observed Behavior

I’m trying to use the lldb pretty printers to display a Zig slice in lldb.

I get OverflowError: int too big to convert in a loop, with no way to break it. I can suspend lldb and then kill it but that’s it.

Any suggestions on how to have the pretty printing code break and display a stack trace?

P.S. I’m on a M2 Mac and latest macOS.

Expected Behavior

I should see my data structure printed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions