Skip to content

Add a debug panel, containing sections with relevant debugging information #5954

Open
@filipdutescu

Description

@filipdutescu

Description

Currently, it is very hard to view the values of variables and their inner fields, see all existing breakpoints, the call stack and there are no existing watches. This makes it very hard to debug any complex program, where any or all of the aforementioned items would be necessary.

Proposal

Add a configurable panel of widgets for locals, watches, call stack and breakpoints, which should be able to be placed in any of the following positions: left, top, bottom, right. Each widget should itself be placeable independently from the others, in any of those directions. Those settings should be set in the config.toml file.

Values should be expandable, using the same mechanism that the explorer will expand directories (see #5768). They and watches should also be editable, with a prompt shown beneath the statusline, prefilled with the existing value.

UI mockups

image

Updated design, by @CptPotato:
image

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