Skip to content

[Debugger] Onboarding for Map Scopes #126

@digitarald

Description

@digitarald

Background

Map scopes transforms build/compressed into how the original source behaves. It's magical when enabled buy we can't enable it by default as it has performance overhead (especially on the first pause).

It makes several variable-related features more reliable:

  • Scopes pane
  • Variable hover preview (without it preview will not work at all for original variables)
  • Inline variable preview (same breakage as above)
  • With 78: Now also mapping in Logpoints (making logging work for original variables)

Problem

The checkbox is so subtle that it's easy to ignore, so users lose out on a better debugging experience.

Solution

Lightweight onboarding to opt users into enabling Map scopes when it's available for a file.

This could be a subtle bar in the Scopes pane on pausing or on top of the file as a lot of variable inspection happens in context of the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Secondary tasks for current Nightly cycle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions