Skip to content

Location metadata on DAP output events are not absolute paths #4573

Closed

Description

@DanTup

The links on the right side of the debug console here are not clickable, they are relative paths which resolve to "C:\Users\danny\AppData\Local\Programs\Microsoft VS Code\test\lsp\temporary_overlay_operation_test.dart".

image

[11:40:43 AM] [DAP] [Info] <== {"seq":27,"type":"event","body":{"category":"stderr","column":5,"line":23,"output":"test\\lsp\\temporary_overlay_operation_test.dart 23:5  TemporaryOverlayOperationTest.expectContent\n","source":{"name":"C:\\Users\\danny\\AppData\\Local\\Programs\\Microsoft VS Code\\test\\lsp\\temporary_overlay_operation_test.dart","path":"C:\\Users\\danny\\AppData\\Local\\Programs\\Microsoft VS Code\\test\\lsp\\temporary_overlay_operation_test.dart"}},"event":"output"}
[11:40:43 AM] [DAP] [Info] <== {"seq":28,"type":"event","body":{"category":"stderr","column":7,"line":83,"output":"test\\lsp\\temporary_overlay_operation_test.dart 83:7  TemporaryOverlayOperationTest.test_pausesWatcherEvents.<fn>\n","source":{"name":"C:\\Users\\danny\\AppData\\Local\\Programs\\Microsoft VS Code\\test\\lsp\\temporary_overlay_operation_test.dart","path":"C:\\Users\\danny\\AppData\\Local\\Programs\\Microsoft VS Code\\test\\lsp\\temporary_overlay_operation_test.dart"}},"event":"output"}

Activity

  1. added
    in debuggingRelates to the debug adapter or process of running debug sessions
    on Jun 6, 2023
  2. added this to the v3.68.0 milestone on Jun 6, 2023
  3. DanTup commented on Jun 28, 2023

    @DanTup
    MemberAuthor
  4. modified the milestones: v3.68.0, v3.70.0 on Jul 3, 2023
  5. DanTup commented on Jul 25, 2023

    @DanTup
    MemberAuthor
  6. added
    relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
    on Jul 25, 2023
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

    in debuggingRelates to the debug adapter or process of running debug sessionsis 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