Skip to content

Step-By-Line debugging #3779

Open
Open

Description

@fhuonder

Hi,

I would like to have the feature Step-By-Line debugging when debugging dart/flutter code in vscode.
See here: dart-lang/sdk#21081

Example:

1: Something();
2: A().x().y().z();
3: AnotherThing();

Assume a breakpoint at line 2. I would like to step to line 3 with one command. Currently the Step Over stops at each method call on line 2.

Regards,
Florian

Activity

  1. added
    is enhancement
    on Jan 14, 2022
  2. DanTup commented on Jan 14, 2022

    @DanTup
    Member

    I think this would require DAP's SteppingGranularity to be exposed by VS Code to be able to make this work:

    microsoft/vscode#102236

    Without it, there's no way for you to choose which way to step (the stepping UI is all handled by VS Code, and not something we can directly contribute to).

    I've added a 👍 to that issue, and encourage you to too!

    Once supported in VS Code, we can add support to the Dart SDK DAP implementation.

  3. added this to the Backlog milestone on Jan 14, 2022
  4. added
    blocked on vs code / lsp / dap
    in debugging
    on Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked on vs code / lsp / dapin debuggingis enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions