You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Connection failure when using VmServiceUri in Flutter projects where the VM Service URI contains the host (not device) port #3809
Here's the log you've requested in the other issue:
[ +60 ms] executing: uname -m
[ +29 ms] Exit code 0 from: uname -m
[ ] x86_64
[ +5 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 18116933e77adc82f80866c928266a5b4f1ed645
[ ] executing: [/home/<user>/fvm/versions/2.5.3/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[ +15 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[ ] 2.5.3
[ +10 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref --symbolic @{u}
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [/home/<user>/fvm/versions/2.5.3/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +95 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref HEAD
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +52 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +70 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +65 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb devices -l
[ +31 ms] List of devices attached
N0AA002186K42207883 device usb:1-5 product:Daredevil_00EEA model:Nokia_7_2 device:DDV_sprout transport_id:3
[ +43 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 forward tcp:0 tcp:45201
[ +29 ms] /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 shell getprop
[ +12 ms] 41191
[ +110 ms] Connecting to service protocol: http://127.0.0.1:41191/thr05faGm3A=/
[ +53 ms] Fail to connect to service protocol: http://127.0.0.1:41191/thr05faGm3A=/: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:41191/thr05faGm3A=/ws
[ ] Error connecting to the service protocol: failed to connect to http://127.0.0.1:41191/thr05faGm3A=/
Exited (sigterm)
Using this configuration fixed the problem:
{
"name": "Flutter attach",
"request": "attach", // Attach instead of launching
"type": "dart",
"packages": "src/.dart_tool/package_config.json",
"vmServiceUri": "${command:dart.promptForVmService}" // Prompt for the VM Service URI
},
Sorry, I had another window in front of the toast informing me about the cancel-button and I thought the console output was the log. Here's the complete log, though I'm afraid it's not much more useful:
!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!
Dart Code extension: 3.34.0
Flutter extension: 3.34.0 (activated)
App: Code - OSS
Version: 1.63.2
Platform: linux
Workspace type: Flutter
Analyzer type: LSP
Multi-root?: false
Dart SDK:
Loc: /home/<user>/fvm/versions/2.5.3/bin/cache/dart-sdk
Ver: 2.14.4
Flutter SDK:
Loc: /home/<user>/fvm/versions/2.5.3
Ver: 2.5.3
HTTP_PROXY: undefined
NO_PROXY: undefined
Logging Categories:
General, CommandProcesses, DartTest, DAP, VmService, DevTools, FlutterDaemon, FlutterRun, FlutterTest, WebDaemon
Wed Feb 02 2022 [15:02:16 GMT+0100 (Central European Standard Time)] Log file started
[3:02:19 PM] [General] [Info] Starting debug session...
[3:02:19 PM] [General] [Info] workspace: /home/<user>/workspace/<project>/repo
[3:02:19 PM] [General] [Info] cwd : src
[3:02:19 PM] [General] [Info] Converted cwd to absolute path: /home/<user>/workspace/<project>/repo/src
[3:02:19 PM] [General] [Info] Detected launch project as Flutter
[3:02:19 PM] [General] [Info] Using Flutter debug adapter for this session
[3:02:19 PM] [General] [Info] Getting DevTools server address to pass to Flutter...
[3:02:19 PM] [General] [Info] Debug session starting...
{
"name": "Flutter attach",
"request": "attach",
"type": "dart",
"cwd": "/home/<user>/workspace/<project>/repo/src",
"vmServiceUri": "http://127.0.0.1:42735/n6GJe2QruF4=/",
"__configurationTarget": 5,
"dartCodeDebugSessionID": "session-f4a53",
"deviceId": "N0AA002186K42207883",
"deviceName": "$(device-mobile) Nokia 7 2 (android-arm64)",
"toolEnv": {
"FLUTTER_HOST": "VSCode",
"PUB_ENVIRONMENT": "vscode.dart-code"
},
"sendLogsToClient": true,
"additionalProjectPaths": [
"/home/<user>/workspace/<project>/repo"
],
"args": [],
"vmAdditionalArgs": [],
"toolArgs": [
"-d",
"N0AA002186K42207883",
"--devtools-server-address",
"http://127.0.0.1:9100/",
"-v"
],
"vmServicePort": 0,
"dartSdkPath": "/home/<user>/fvm/versions/2.5.3/bin/cache/dart-sdk",
"maxLogLineLength": 2000,
"debugSdkLibraries": false,
"debugExternalPackageLibraries": true,
"showDartDeveloperLogs": true,
"evaluateGettersInDebugViews": true,
"evaluateToStringInDebugViews": true,
"flutterSdkPath": "/home/<user>/fvm/versions/2.5.3",
"useInspectorNotificationsForWidgetErrors": true,
"showMemoryUsage": false,
"debuggerType": 2
}
[3:02:19 PM] [General] [Info] Using flutter debugger for Flutter
[3:02:19 PM] [General] [Info] Running debugger via node with /home/<user>/.vscode-oss/extensions/dart-code.dart-code-3.34.0/out/dist/debug.js flutter
[3:02:19 PM] [DAP] [Info] Starting debug session 22d8e2e8-bab3-414c-bda2-5d8484029f16
[3:02:19 PM] [DAP] [Info] <== {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Code - OSS","adapterID":"dart","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true},"type":"request","seq":1}
[3:02:19 PM] [DAP] [Info] ==> {"seq":1,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsRestartRequest":true,"supportsConfigurationDoneRequest":true,"supportsEvaluateForHovers":true,"supportsDelayedStackTraceLoading":true,"supportsConditionalBreakpoints":true,"supportsLogPoints":true,"supportsTerminateRequest":true,"supportsRestartFrame":true,"supportsClipboardContext":true,"exceptionBreakpointFilters":[{"filter":"All","label":"All Exceptions","default":false},{"filter":"Unhandled","label":"Uncaught Exceptions","default":true}]}}
[3:02:19 PM] [DAP] [Info] <== {"command":"attach","arguments":{"name":"Flutter attach","request":"attach","type":"dart","cwd":"/home/<user>/workspace/<project>/repo/src","vmServiceUri":"http://127.0.0.1:42735/n6GJe2QruF4=/","__configurationTarget":5,"dartCodeDebugSessionID":"session-f4a53","deviceId":"N0AA002186K42207883","deviceName":"$(device-mobile) Nokia 7 2 (android-arm64)","toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code"},"sendLogsToClient":true,"additionalProjectPaths":["/home/<user>/workspace/<project>/repo"],"args":[],"vmAdditionalArgs":[],"toolArgs":["-d","N0AA002186K42207883","--devtools-server-address","http://127.0.0.1:9100/","-v"],"vmServicePort":0,"dartSdkPath":"/home/<user>/fvm/versions/2.5.3/bin/cache/dart-sdk","maxLogLineLength":2000,"debugSdkLibraries":false,"debugExternalPackageLibraries":true,"showDartDeveloperLogs":true,"evaluateGettersInDebugViews":true,"evaluateToStringInDebugViews":true,"flutterSdkPath":"/home/<user>/fvm/versions/2.5.3","useInspectorNotificationsForWidgetErrors":true,"showMemoryUsage":false,"debuggerType":2,"__sessionId":"22d8e2e8-bab3-414c-bda2-5d8484029f16"},"type":"request","seq":2}
[3:02:19 PM] [DAP] [Info] ==> {"seq":2,"type":"event","event":"dart.progressStart","body":{"progressID":"launch","message":"Launching…"}}
[3:02:19 PM] [General] [Warn] Did not find session 22d8e2e8-bab3-414c-bda2-5d8484029f16 to handle dart.progressStart. There were 0 sessions:
[3:02:19 PM] [General] [Warn] Event will be queued and processed when the session start event fires
[3:02:19 PM] [DAP] [Info] ==> {"seq":3,"type":"response","request_seq":2,"command":"attach","success":true}
[3:02:19 PM] [DAP] [Info] ==> {"seq":4,"type":"event","event":"dart.log","body":{"message":"Spawning /home/<user>/fvm/versions/2.5.3/bin/flutter with args [\"attach\",\"--machine\",\"--debug-uri\",\"http://127.0.0.1:42735/n6GJe2QruF4=/\",\"-d\",\"N0AA002186K42207883\",\"--devtools-server-address\",\"http://127.0.0.1:9100/\",\"-v\"]","severity":0,"category":8}}
[3:02:19 PM] [DAP] [Info] ==> {"seq":5,"type":"event","event":"dart.log","body":{"message":".. in /home/<user>/workspace/<project>/repo/src","severity":0,"category":8}}
[3:02:19 PM] [DAP] [Info] ==> {"seq":6,"type":"event","event":"dart.log","body":{"message":".. with {\"toolEnv\":{\"FLUTTER_HOST\":\"VSCode\",\"PUB_ENVIRONMENT\":\"vscode.dart-code\"}}","severity":0,"category":8}}
[3:02:19 PM] [General] [Info] Processing delayed event dart.progressStart for session 22d8e2e8-bab3-414c-bda2-5d8484029f16
[3:02:19 PM] [FlutterRun] [Info] [Flutter attach] Spawning /home/<user>/fvm/versions/2.5.3/bin/flutter with args ["attach","--machine","--debug-uri","http://127.0.0.1:42735/n6GJe2QruF4=/","-d","N0AA002186K42207883","--devtools-server-address","http://127.0.0.1:9100/","-v"]
[3:02:19 PM] [FlutterRun] [Info] [Flutter attach] .. in /home/<user>/workspace/<project>/repo/src
[3:02:19 PM] [FlutterRun] [Info] [Flutter attach] .. with {"toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code"}}
[3:02:19 PM] [DAP] [Info] ==> {"seq":7,"type":"event","event":"dart.log","body":{"message":" PID: 150360","severity":0,"category":8}}
[3:02:19 PM] [FlutterRun] [Info] [Flutter attach] PID: 150360
[3:02:20 PM] [DAP] [Info] ==> {"seq":8,"type":"event","event":"dart.log","body":{"message":"<== [ +66 ms] executing: uname -m\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":9,"type":"event","event":"output","body":{"category":"console","output":"[ +66 ms] executing: uname -m\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +66 ms] executing: uname -m
[3:02:20 PM] [DAP] [Info] ==> {"seq":10,"type":"event","event":"dart.log","body":{"message":"<== [ +30 ms] Exit code 0 from: uname -m\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":11,"type":"event","event":"output","body":{"category":"console","output":"[ +30 ms] Exit code 0 from: uname -m\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":12,"type":"event","event":"dart.log","body":{"message":"<== [ ] x86_64\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":13,"type":"event","event":"output","body":{"category":"console","output":"[ ] x86_64\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +30 ms] Exit code 0 from: uname -m
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] x86_64
[3:02:20 PM] [DAP] [Info] ==> {"seq":14,"type":"event","event":"dart.log","body":{"message":"<== [ +6 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git -c log.showSignature=false log -n 1 --pretty=format:%H\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":15,"type":"event","event":"output","body":{"category":"console","output":"[ +6 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git -c log.showSignature=false log -n 1 --pretty=format:%H\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +6 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[3:02:20 PM] [DAP] [Info] ==> {"seq":16,"type":"event","event":"dart.log","body":{"message":"<== [ +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":17,"type":"event","event":"output","body":{"category":"console","output":"[ +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":18,"type":"event","event":"dart.log","body":{"message":"<== [ ] 18116933e77adc82f80866c928266a5b4f1ed645\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":19,"type":"event","event":"output","body":{"category":"console","output":"[ ] 18116933e77adc82f80866c928266a5b4f1ed645\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":20,"type":"event","event":"dart.log","body":{"message":"<== [ ] executing: [/home/<user>/fvm/versions/2.5.3/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":21,"type":"event","event":"output","body":{"category":"console","output":"[ ] executing: [/home/<user>/fvm/versions/2.5.3/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] 18116933e77adc82f80866c928266a5b4f1ed645
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] executing: [/home/<user>/fvm/versions/2.5.3/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[3:02:20 PM] [DAP] [Info] ==> {"seq":22,"type":"event","event":"dart.log","body":{"message":"<== [ +14 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":23,"type":"event","event":"output","body":{"category":"console","output":"[ +14 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":24,"type":"event","event":"dart.log","body":{"message":"<== [ ] 2.5.3\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":25,"type":"event","event":"output","body":{"category":"console","output":"[ ] 2.5.3\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +14 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] 2.5.3
[3:02:20 PM] [DAP] [Info] ==> {"seq":26,"type":"event","event":"dart.log","body":{"message":"<== [ +11 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref --symbolic @{u}\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":27,"type":"event","event":"output","body":{"category":"console","output":"[ +11 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref --symbolic @{u}\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":28,"type":"event","event":"dart.log","body":{"message":"<== [ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":29,"type":"event","event":"output","body":{"category":"console","output":"[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":30,"type":"event","event":"dart.log","body":{"message":"<== [ ] origin/stable\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":31,"type":"event","event":"output","body":{"category":"console","output":"[ ] origin/stable\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":32,"type":"event","event":"dart.log","body":{"message":"<== [ ] executing: [/home/<user>/fvm/versions/2.5.3/] git ls-remote --get-url origin\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":33,"type":"event","event":"output","body":{"category":"console","output":"[ ] executing: [/home/<user>/fvm/versions/2.5.3/] git ls-remote --get-url origin\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":34,"type":"event","event":"dart.log","body":{"message":"<== [ +5 ms] Exit code 0 from: git ls-remote --get-url origin\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":35,"type":"event","event":"output","body":{"category":"console","output":"[ +5 ms] Exit code 0 from: git ls-remote --get-url origin\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":36,"type":"event","event":"dart.log","body":{"message":"<== [ ] https://github.com/flutter/flutter.git\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":37,"type":"event","event":"output","body":{"category":"console","output":"[ ] https://github.com/flutter/flutter.git\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +11 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref --symbolic @{u}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] origin/stable
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] executing: [/home/<user>/fvm/versions/2.5.3/] git ls-remote --get-url origin
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] https://github.com/flutter/flutter.git
[3:02:20 PM] [DAP] [Info] ==> {"seq":38,"type":"event","event":"dart.log","body":{"message":"<== [ +96 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref HEAD\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":39,"type":"event","event":"output","body":{"category":"console","output":"[ +96 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref HEAD\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +96 ms] executing: [/home/<user>/fvm/versions/2.5.3/] git rev-parse --abbrev-ref HEAD
[3:02:20 PM] [DAP] [Info] ==> {"seq":40,"type":"event","event":"dart.log","body":{"message":"<== [ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":41,"type":"event","event":"output","body":{"category":"console","output":"[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":42,"type":"event","event":"dart.log","body":{"message":"<== [ ] stable\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":43,"type":"event","event":"output","body":{"category":"console","output":"[ ] stable\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] stable
[3:02:20 PM] [DAP] [Info] ==> {"seq":44,"type":"event","event":"dart.log","body":{"message":"<== [ +48 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":45,"type":"event","event":"output","body":{"category":"console","output":"[ +48 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":46,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":47,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":48,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":49,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":50,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":51,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":52,"type":"event","event":"dart.log","body":{"message":"<== [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":53,"type":"event","event":"output","body":{"category":"console","output":"[ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":54,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":55,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":56,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":57,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":58,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":59,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":60,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":61,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":62,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":63,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":64,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":65,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":66,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":67,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +48 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[3:02:20 PM] [DAP] [Info] ==> {"seq":68,"type":"event","event":"dart.log","body":{"message":"<== [ +66 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":69,"type":"event","event":"output","body":{"category":"console","output":"[ +66 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":70,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":71,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":72,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":73,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":74,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":75,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":76,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":77,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":78,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":79,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":80,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":81,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":82,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":83,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":84,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":85,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":86,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":87,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":88,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":89,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":90,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":91,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":92,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":93,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":94,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":95,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":96,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":97,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":98,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":99,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":100,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":101,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":102,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":103,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":104,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":105,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":106,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":107,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":108,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":109,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":110,"type":"event","event":"dart.log","body":{"message":"<== [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":111,"type":"event","event":"output","body":{"category":"console","output":"[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +66 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[3:02:20 PM] [DAP] [Info] ==> {"seq":112,"type":"event","event":"dart.log","body":{"message":"<== [ +67 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb devices -l\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":113,"type":"event","event":"output","body":{"category":"console","output":"[ +67 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb devices -l\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +67 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb devices -l
[3:02:20 PM] [DAP] [Info] ==> {"seq":114,"type":"event","event":"dart.log","body":{"message":"<== [ +31 ms] List of devices attached\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":115,"type":"event","event":"output","body":{"category":"console","output":"[ +31 ms] List of devices attached\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":116,"type":"event","event":"dart.log","body":{"message":"<== N0AA002186K42207883 device usb:1-5 product:Daredevil_00EEA model:Nokia_7_2 device:DDV_sprout transport_id:3\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":117,"type":"event","event":"output","body":{"category":"console","output":" N0AA002186K42207883 device usb:1-5 product:Daredevil_00EEA model:Nokia_7_2 device:DDV_sprout transport_id:3\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +31 ms] List of devices attached
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== N0AA002186K42207883 device usb:1-5 product:Daredevil_00EEA model:Nokia_7_2 device:DDV_sprout transport_id:3
[3:02:20 PM] [DAP] [Info] ==> {"seq":118,"type":"event","event":"dart.log","body":{"message":"<== [{\"event\":\"daemon.connected\",\"params\":{\"version\":\"0.6.1\",\"pid\":150382}}]\r\n","severity":0,"category":8}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [{"event":"daemon.connected","params":{"version":"0.6.1","pid":150382}}]
[3:02:20 PM] [DAP] [Info] ==> {"seq":119,"type":"event","event":"dart.log","body":{"message":"<== [ +42 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 forward tcp:0 tcp:42735\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":120,"type":"event","event":"output","body":{"category":"console","output":"[ +42 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 forward tcp:0 tcp:42735\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +42 ms] executing: /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 forward tcp:0 tcp:42735
[3:02:20 PM] [DAP] [Info] ==> {"seq":121,"type":"event","event":"dart.log","body":{"message":"<== [ +27 ms] /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 shell getprop\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":122,"type":"event","event":"output","body":{"category":"console","output":"[ +27 ms] /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 shell getprop\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":123,"type":"event","event":"dart.log","body":{"message":"<== [ +11 ms] 42389\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":124,"type":"event","event":"output","body":{"category":"console","output":"[ +11 ms] 42389\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +27 ms] /home/<user>/Android/Sdk/platform-tools/adb -s N0AA002186K42207883 shell getprop
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +11 ms] 42389
[3:02:20 PM] [DAP] [Info] ==> {"seq":125,"type":"event","event":"dart.log","body":{"message":"<== [{\"event\":\"app.start\",\"params\":{\"appId\":\"ca464319-c58d-4e0c-a27b-8e07717a77e1\",\"deviceId\":\"N0AA002186K42207883\",\"directory\":null,\"supportsRestart\":true,\"launchMode\":\"attach\"}}]\r\n","severity":0,"category":8}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [{"event":"app.start","params":{"appId":"ca464319-c58d-4e0c-a27b-8e07717a77e1","deviceId":"N0AA002186K42207883","directory":null,"supportsRestart":true,"launchMode":"attach"}}]
[3:02:20 PM] [DAP] [Info] ==> {"seq":126,"type":"event","event":"dart.log","body":{"message":"<== [ +95 ms] Connecting to service protocol: http://127.0.0.1:42389/n6GJe2QruF4=/\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":127,"type":"event","event":"output","body":{"category":"console","output":"[ +95 ms] Connecting to service protocol: http://127.0.0.1:42389/n6GJe2QruF4=/\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +95 ms] Connecting to service protocol: http://127.0.0.1:42389/n6GJe2QruF4=/
[3:02:20 PM] [DAP] [Info] ==> {"seq":128,"type":"event","event":"dart.log","body":{"message":"<== [ +56 ms] Fail to connect to service protocol: http://127.0.0.1:42389/n6GJe2QruF4=/: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:42389/n6GJe2QruF4=/ws\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":129,"type":"event","event":"output","body":{"category":"console","output":"[ +56 ms] Fail to connect to service protocol: http://127.0.0.1:42389/n6GJe2QruF4=/: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:42389/n6GJe2QruF4=/ws\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":130,"type":"event","event":"dart.log","body":{"message":"[ ] Error connecting to the service protocol: failed to connect to http://127.0.0.1:42389/n6GJe2QruF4=/\n","severity":2,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":131,"type":"event","event":"output","body":{"category":"stderr","output":"[ ] Error connecting to the service protocol: failed to connect to http://127.0.0.1:42389/n6GJe2QruF4=/\n"}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":132,"type":"event","event":"dart.log","body":{"message":"<== [{\"event\":\"app.stop\",\"params\":{\"appId\":\"ca464319-c58d-4e0c-a27b-8e07717a77e1\"}}]\r\n","severity":0,"category":8}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":133,"type":"event","event":"dart.log","body":{"message":"Process /home/<user>/fvm/versions/2.5.3/bin/flutter terminated! null, SIGTERM","severity":0,"category":8}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [ +56 ms] Fail to connect to service protocol: http://127.0.0.1:42389/n6GJe2QruF4=/: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:42389/n6GJe2QruF4=/ws
[3:02:20 PM] [FlutterRun] [Error] [Flutter attach] [ ] Error connecting to the service protocol: failed to connect to http://127.0.0.1:42389/n6GJe2QruF4=/
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] <== [{"event":"app.stop","params":{"appId":"ca464319-c58d-4e0c-a27b-8e07717a77e1"}}]
[3:02:20 PM] [DAP] [Info] ==> {"seq":134,"type":"event","event":"dart.log","body":{"message":"Process exited (sigterm)","severity":0,"category":10}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":135,"type":"event","event":"output","body":{"category":"console","output":"Exited (sigterm)\n"}}
[3:02:20 PM] [FlutterRun] [Info] [Flutter attach] Process /home/<user>/fvm/versions/2.5.3/bin/flutter terminated! null, SIGTERM
[3:02:20 PM] [DAP] [Info] ==> {"seq":136,"type":"event","event":"terminated"}
[3:02:20 PM] [VmService] [Info] [Flutter attach] Process exited (sigterm)
[3:02:20 PM] [DAP] [Info] <== {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":3}
[3:02:20 PM] [DAP] [Info] ==> {"seq":137,"type":"event","event":"dart.log","body":{"message":"Disconnect requested!","severity":0,"category":10}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":138,"type":"event","event":"dart.log","body":{"message":"TERM: Requested to terminate with SIGINT...","severity":0,"category":10}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":139,"type":"event","event":"dart.log","body":{"message":"TERM: Did not need to terminate processes","severity":0,"category":10}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":140,"type":"event","event":"dart.log","body":{"message":"TERM: Removing all stored data...","severity":0,"category":10}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":141,"type":"event","event":"dart.log","body":{"message":"TERM: Waiting for process to finish...","severity":0,"category":10}}
[3:02:20 PM] [DAP] [Info] ==> {"seq":142,"type":"event","event":"dart.log","body":{"message":"TERM: Disconnecting...","severity":0,"category":10}}
[3:02:20 PM] [VmService] [Info] [Flutter attach] Disconnect requested!
[3:02:20 PM] [VmService] [Info] [Flutter attach] TERM: Requested to terminate with SIGINT...
[3:02:20 PM] [VmService] [Info] [Flutter attach] TERM: Did not need to terminate processes
[3:02:20 PM] [VmService] [Info] [Flutter attach] TERM: Removing all stored data...
[3:02:20 PM] [VmService] [Info] [Flutter attach] TERM: Waiting for process to finish...
[3:02:20 PM] [VmService] [Info] [Flutter attach] TERM: Disconnecting...
[3:02:20 PM] [DAP] [Info] ==> {"seq":143,"type":"response","request_seq":3,"command":"disconnect","success":true}
[3:02:20 PM] [DAP] [Info] Debug session 22d8e2e8-bab3-414c-bda2-5d8484029f16 errored: {}
[3:02:20 PM] [DAP] [Info] Debug session 22d8e2e8-bab3-414c-bda2-5d8484029f16 exit: code: 0, signal: undefined
[3:02:21 PM] [DAP] [Info] Stopping debug session 22d8e2e8-bab3-414c-bda2-5d8484029f16
[3:02:21 PM] [General] [Info] Debugger:SessionDuration timing: 1447ms (Flutter)
Wed Feb 02 2022 [15:02:22 GMT+0100 (Central European Standard Time)] Log file ended
For comparison, could you get the same log when you don't include "cwd": "src"? I don't see anything obviously wrong in the log. The only difference this should be making up until this point is that the folder that the debug adapter runs "flutter attach" in is src rather than repo.
It may also be interesting to try to attach from the command line to see if you see the same sort of issue:
run the app
run flutter attach -d N0AA002186K42207883 --debug-uri <PASTE VM SERVICE URI HERE> from the repo folder
Then repeat the same steps running the last command in the repo/src folder.
Attaching directly using flutter doesn't work either:
$ pwd
/home/<user>/workspace/<project>/repo/src
$ fvm flutter attach -d N0AA002186K42207883 --debug-uri http://127.0.0.1:37781/T4a_LH1Kgy4=/
Error connecting to the service protocol: failed to connect to
http://127.0.0.1:44039/T4a_LH1Kgy4=/
$ fvm flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on Arch Linux 5.16.2-arch1-1, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2020.3)
[✓] Connected device (1 available)
! Doctor found issues in 1 category.
$ /usr/bin/flutter attach -d N0AA002186K42207883 --debug-uri http://127.0.0.1:37781/T4a_LH1Kgy4=/
Error connecting to the service protocol: failed to connect to
http://127.0.0.1:44039/T4a_LH1Kgy4=/
$ /usr/bin/flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.0, on Arch Linux 5.16.2-arch1-1, locale
en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (2 available)
• No issues found!
Running the attach command outside the src-folder doesn't work at all:
I'm not sure what I tested above, but I still see this failure today. I believe the issue is that without cwd we don't detect the project as Flutter, and we just try to connect the Dart VM to it. When the cwd is valid, we use the Flutter adapter, and this seems to fail in this way.
I've filed flutter/flutter#110260 since this seems to be occurring even from the CLI. It's possible I'm using flutter attach wrong, but I'm not sure.
Connecting to a device without a VM Service URI does work:
I'm sorry, I don't work any longer for the company where I wanted to use this. Flutter could not kept up to date in that project anyhow due to dependency issues that didn't get resolved until I had left 😐 so I didn't try the solutions you suggested. In the end, I just connected to the debugger manually with the provided configuration, since I started the app using the cli most of the time anyways.
Ah, no worries. I did a little more digging (see flutter/flutter#110260 (comment)) and I think that flutter attach is probably not intended to be used with apps launched with flutter run (instead, flutter attach expects VM Service URLs that contain device ports, and not the forwarded host ports).
I'll close this issue because I don't think there's anything to do here in any case. If it's turns out this should be supported and it requires changes to the debugging code here, I'll re-open this and update. Thanks!
changed the title [-]Connection failure when setting "cwd" of "attach" request to enable package resolution for nested project[/-][+]Connection failure when using VmServiceUri in Flutter projects where the VM Service URI contains the host (not device) port[/+]on Aug 25, 2022
Activity
t-animal commentedon Feb 2, 2022
Here's the log you've requested in the other issue:
Using this configuration fixed the problem:
t-animal commentedon Feb 2, 2022
Sorry, I had another window in front of the toast informing me about the cancel-button and I thought the console output was the log. Here's the complete log, though I'm afraid it's not much more useful:
DanTup commentedon Feb 2, 2022
For comparison, could you get the same log when you don't include
"cwd": "src"? I don't see anything obviously wrong in the log. The only difference this should be making up until this point is that the folder that the debug adapter runs "flutter attach" in issrcrather thanrepo.It may also be interesting to try to attach from the command line to see if you see the same sort of issue:
flutter attach -d N0AA002186K42207883 --debug-uri <PASTE VM SERVICE URI HERE>from therepofolderThen repeat the same steps running the last command in the
repo/srcfolder.t-animal commentedon Feb 2, 2022
Here's the log for when I leave out the
cwdparamaeter:Attaching directly using flutter doesn't work either:
Running the attach command outside the src-folder doesn't work at all:
DanTup commentedon Jun 21, 2022
Confirmed this works as expected using the new SDK DAPs too.
DanTup commentedon Aug 25, 2022
I'm not sure what I tested above, but I still see this failure today. I believe the issue is that without
cwdwe don't detect the project as Flutter, and we just try to connect the Dart VM to it. When thecwdis valid, we use the Flutter adapter, and this seems to fail in this way.I've filed flutter/flutter#110260 since this seems to be occurring even from the CLI. It's possible I'm using
flutter attachwrong, but I'm not sure.Connecting to a device without a VM Service URI does work:
@t-animal does this work for you, or is there a reason you need to use the VM Service URI?
t-animal commentedon Aug 25, 2022
I'm sorry, I don't work any longer for the company where I wanted to use this. Flutter could not kept up to date in that project anyhow due to dependency issues that didn't get resolved until I had left 😐 so I didn't try the solutions you suggested. In the end, I just connected to the debugger manually with the provided configuration, since I started the app using the cli most of the time anyways.
DanTup commentedon Aug 25, 2022
Ah, no worries. I did a little more digging (see flutter/flutter#110260 (comment)) and I think that
flutter attachis probably not intended to be used with apps launched withflutter run(instead,flutter attachexpects VM Service URLs that contain device ports, and not the forwarded host ports).I'll close this issue because I don't think there's anything to do here in any case. If it's turns out this should be supported and it requires changes to the debugging code here, I'll re-open this and update. Thanks!
[-]Connection failure when setting "cwd" of "attach" request to enable package resolution for nested project[/-][+]Connection failure when using VmServiceUri in Flutter projects where the VM Service URI contains the host (not device) port[/+]