Skip to content

Debug Console location metadata doesn't appear when not running in debug mode #4768

@osaxma

Description

@osaxma

Describe the bug

Issue 1: The URI on the right hand side of the Debug Console doesn't work (screenshot 1)
Issue 2: The URIs printed in the Debug Console and Test Results work but the line number isn't a part of the URI -- i.e. cannot jump to the line using the URIs (screen shot 1 & 2)

Please see the screenshots below:

1- Screenshot 1

Screen Shot 2023-10-03 at 3 35 41 PM

2- Screenshot 2

Screen Shot 2023-10-03 at 3 36 03 PM

To Reproduce
Steps to reproduce the behavior:

  1. create test/some_test.dart
  2. add the following snippet:
import 'package:test/test.dart';
void main() {

    void failure() => throw UnimplementedError();
    test('fail', () {
      failure();
    });
}

Please complete the following information:

  • Operating System and version: 12.6 (21G115)
  • VS Code version: 1.82.2
  • Dart extension version: v3.74.0
  • Dart/Flutter SDK version: Dart SDK version: 3.1.2 (stable) (Tue Sep 12 16:26:23 2023 +0000) on "macos_x64"

sorry if this is already reported or should be filed elsewhere -- please let me know

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin testingRelates to test execution of Dart/Flutter tests for end usersis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions