-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsin docs / websiteRelates to documentation, including the Dart Code websiteRelates to documentation, including the Dart Code websiteis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Description
Given a workspace for the Dart SDK and the following lauch configurations for the debugger
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "dart pkg/compiler/test/record_use/record_use_test.dart",
"type": "dart",
"request": "launch",
"program": "pkg/compiler/test/record_use/record_use.dart", // works as expected
// "program": "pkg/compiler/test/record_use/record_use_dart.dart", // doesn't
"args": [
"types_of_arguments",
],
"cwd": "${workspaceFolder}",
},The behavior is different based on file name. It runs package test if the file is ending in test.dart even though this file has nothing to with package test. Leading to a crash that it cannot find a suite with such name.
Did we add some logic to simplify running tests in the debugger from launch configurations?
If yes, can we fix the heuristics? Or get a way to disable it?
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.
- Operating System and version:
- VS Code version:
- Dart extension version:
- Dart/Flutter SDK version:
- Target device (if the issue relates to Flutter debugging):
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsin docs / websiteRelates to documentation, including the Dart Code websiteRelates to documentation, including the Dart Code websiteis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.