Skip to content

"Rewind" in debugger #2052

@nbros

Description

@nbros

The Dart debugger has a "rewind" feature that allows moving back the execution to the beginning of the current frame (or another frame on the call stack, given a count parameter).

But currently this feature seems impossible to use with Dart Code: when I right-click a stack frame all I see is "Copy Call Stack". I also tried typing "rewind" in the debugger view, and I got "Getter not found: rewind". And when we open the Dart DevTools from Dart Code, the Debugger tab is disabled so we can't enter the rewind command there either.

This is a feature request to add the "Rewind" feature in Dart Code in the context menu of a selected stack frame in the Call Stack view (in the Debug sidebar).
A Debug: Rewind command that can be bound to a key combination would be nice too (for quickly rewinding the current frame with a keystroke).

see also: dart-lang/sdk#38852
and: https://github.com/dart-lang/sdk/blob/master/runtime/observatory/lib/src/elements/debugger.dart#L418

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions