Skip to content

[SR-10702] Request: lldb setting to render strings literally #4485

Open
@NSExceptional

Description

@NSExceptional
Previous ID SR-10702
Radar None
Original Reporter @NSExceptional
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels New Feature
Assignee None
Priority Medium

md5: e8d7a61ff7c776cb8b0974b0e22366cd

Issue Description:

Strings currently render like this in LLDB for Swift:

(lldb) po someString
"{\n\t\"foo\": 5\n}"

I realize this is intentional—I remember reading that somewhere—but this is never what I want. I think I speak for a lot of people when I say that I'd rather see this:

(lldb) po someString
{
    "foo": 5
}

I would love either an lldb setting to change string printing behavior in Swift, or a special command to print them literally.

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