Skip to content

EnC: improve editing experience when stopped on exception #18917

@tmat

Description

@tmat

Currently we make editor buffers read-only, which is not ideal 370341

Proposal for new experience:

  • We don’t use read-only buffers at all in this scenario, let the user type in the buffer as normal.
  • We detect the edit and send event to the debugger.
  • If the unwind fails instead of showing a modal dialog and taking focus away from the editor we just squiggle the change and report rude edit with error message “Exception couldn’t be unwound”.
  • Before continue we wait for the result of the event and we block continue if unwind failed (the rude edit will do that).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions