Skip to content

Error overlay should show code for collapsed frames #2144

Closed
@gaearon

Description

@gaearon

I think we should probably change the way collapsed frames work.
This is confusing because I don't see the actual place where the error happened, even if I expand:

screen shot 2017-05-14 at 12 26 15

I see my code immediately, which is valuable, but the error message makes full sense only in the context of the line that has thrown.

Ideally I think we should change the collapsed frames to also show the code, but they should be highlighted as a separate vertical block with its own distinct background. This way it’s also easier to keep track of where the collapsed section begins and ends.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions