question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DevTools not starting with error "DevTools URL not available"

See original GitHub issue

Describe the bug When I try to open devtools (either from command menu or by clicking the devtools icon-button), I get a popup saying “DevTools URL not available”. This might be related to asdf or old version of Flutter. As far as I remember, devtools work fine on the latest version of Flutter with asdf.

To Reproduce Steps to reproduce the behavior:

  1. Run the app without debugging.
  2. Click on the “Open DevTools widget inspector page” (near debugging options).
  3. See a popup stating “DevTools URL not available”.

Expected behavior DevTools open successfully.

Logs

!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!

Dart Code extension: 3.27.2
Flutter extension: 3.27.0 (activated)

App: Visual Studio Code
Version: 1.61.2
Platform: mac

Workspace type: Flutter
Analyzer type: LSP
Multi-root?: false

Dart SDK:
    Loc: /Users/fperson/.asdf/installs/flutter/1.22.6/bin/cache/dart-sdk
    Ver: 2.10.5
Flutter SDK:
    Loc: /Users/fperson/.asdf/installs/flutter/1.22.6
    Ver: 1.22.6

HTTP_PROXY: undefined
NO_PROXY: undefined

Logging Categories:
    General, Analyzer, CommandProcesses, DAP, VmService, DevTools, FlutterDaemon, FlutterRun, FlutterTest, PubTest, WebDaemon

Thu Oct 28 2021 [12:22:09 GMT+0400 (Armenia Standard Time)] Log file started
[12:22:09 PM] [DAP] [Info] ==> {"seq":775651,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:09 PM] [DAP] [Info] ==> {"seq":775652,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:09 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:09 PM] [DAP] [Info] ==> {"seq":775653,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:09 PM] [DAP] [Info] ==> {"seq":775654,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:09 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:09 PM] [DAP] [Info] ==> {"seq":775655,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:09 PM] [DAP] [Info] ==> {"seq":775656,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:09 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:09 PM] [DAP] [Info] ==> {"seq":775657,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:09 PM] [DAP] [Info] ==> {"seq":775658,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:09 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:10 PM] [DAP] [Info] ==> {"seq":775659,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:10 PM] [DAP] [Info] ==> {"seq":775660,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:10 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:10 PM] [DAP] [Info] ==> {"seq":775661,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:10 PM] [DAP] [Info] ==> {"seq":775662,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:10 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:10 PM] [DAP] [Info] ==> {"seq":775663,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:10 PM] [DAP] [Info] ==> {"seq":775664,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:10 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:10 PM] [DAP] [Info] ==> {"seq":775665,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:10 PM] [DAP] [Info] ==> {"seq":775666,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:10 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:10 PM] [DAP] [Info] ==> {"seq":775667,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:10 PM] [DAP] [Info] ==> {"seq":775668,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:10 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:11 PM] [DAP] [Info] ==> {"seq":775669,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:11 PM] [DAP] [Info] ==> {"seq":775670,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:11 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:11 PM] [DAP] [Info] ==> {"seq":775671,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:11 PM] [DAP] [Info] ==> {"seq":775672,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:11 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:11 PM] [DAP] [Info] ==> {"seq":775673,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:11 PM] [DAP] [Info] ==> {"seq":775674,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:11 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:11 PM] [DAP] [Info] ==> {"seq":775675,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:11 PM] [DAP] [Info] ==> {"seq":775676,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:11 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:11 PM] [DAP] [Info] ==> {"seq":775677,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:11 PM] [DAP] [Info] ==> {"seq":775678,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:11 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:12 PM] [DAP] [Info] ==> {"seq":775679,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:12 PM] [DAP] [Info] ==> {"seq":775680,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:12 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:12 PM] [DAP] [Info] ==> {"seq":775681,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:12 PM] [DAP] [Info] ==> {"seq":775682,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:12 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:12 PM] [DAP] [Info] ==> {"seq":775683,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:12 PM] [DAP] [Info] ==> {"seq":775684,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:12 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:12 PM] [DAP] [Info] ==> {"seq":775685,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:12 PM] [DAP] [Info] ==> {"seq":775686,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:12 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:12 PM] [DAP] [Info] ==> {"seq":775687,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:12 PM] [DAP] [Info] ==> {"seq":775688,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:12 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:13 PM] [DAP] [Info] ==> {"seq":775689,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:13 PM] [DAP] [Info] ==> {"seq":775690,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:13 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:13 PM] [DAP] [Info] ==> {"seq":775691,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:13 PM] [DAP] [Info] ==> {"seq":775692,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:13 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:13 PM] [DAP] [Info] ==> {"seq":775693,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:13 PM] [DAP] [Info] ==> {"seq":775694,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:13 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:13 PM] [DAP] [Info] ==> {"seq":775695,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:13 PM] [DAP] [Info] ==> {"seq":775696,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:13 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:13 PM] [DAP] [Info] ==> {"seq":775697,"type":"event","event":"dart.log","body":{"message":"<== flutter: [I]  >>>> server.online\r\n","severity":0,"category":8}}
[12:22:13 PM] [DAP] [Info] ==> {"seq":775698,"type":"event","event":"output","body":{"category":"stdout","output":"flutter: [I]  >>>> server.online\n"}}
[12:22:13 PM] [FlutterRun] [Info] [Base Dev] <== flutter: [I]  >>>> server.online
[12:22:13 PM] [DAP] [Info] ==> {"seq":775699,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:13 PM] [DAP] [Info] ==> {"seq":775700,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:13 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:14 PM] [DAP] [Info] ==> {"seq":775701,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:14 PM] [DAP] [Info] ==> {"seq":775702,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:14 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:14 PM] [DAP] [Info] ==> {"seq":775703,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:14 PM] [DAP] [Info] ==> {"seq":775704,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:14 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:14 PM] [DAP] [Info] ==> {"seq":775705,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:14 PM] [DAP] [Info] ==> {"seq":775706,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:14 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:14 PM] [DAP] [Info] ==> {"seq":775707,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:14 PM] [DAP] [Info] ==> {"seq":775708,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:14 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:14 PM] [DAP] [Info] ==> {"seq":775709,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:14 PM] [DAP] [Info] ==> {"seq":775710,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:14 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:14 PM] [General] [Info] Using only available debug session
[12:22:14 PM] [General] [Info] Spawning /Users/fperson/.asdf/installs/flutter/1.22.6/bin/cache/dart-sdk/bin/pub with args ["global","list"]
[12:22:14 PM] [CommandProcesses] [Info] (PROC 16253) Logging data for process...
[12:22:15 PM] [DAP] [Info] ==> {"seq":775711,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:15 PM] [DAP] [Info] ==> {"seq":775712,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:15 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:15 PM] [CommandProcesses] [Info] (PROC 16253) devtools 0.9.7+3
[12:22:15 PM] [CommandProcesses] [Info] (PROC 16253)
[12:22:15 PM] [CommandProcesses] [Info] (PROC 16253) exited (0, null)
[12:22:15 PM] [CommandProcesses] [Info] (PROC 16253) closed (0, null)
[12:22:15 PM] [General] [Info] devtools version 0.9.7+3 appears to be latest so returning Valid
[12:22:15 PM] [DevTools] [Info] Spawning /Users/fperson/.asdf/installs/flutter/1.22.6/bin/cache/dart-sdk/bin/pub with args ["global","run","devtools","--machine","--try-ports","10","--allow-embedding","--port","9101"]
[12:22:15 PM] [DevTools] [Info] ..  with {"toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code"}}
[12:22:15 PM] [DevTools] [Info]     PID: 32128
[12:22:15 PM] [DevTools] [Info] Process terminated! null, SIGTERM
[12:22:15 PM] [DAP] [Info] ==> {"seq":775713,"type":"event","event":"dart.log","body":{"message":"<== {\"jsonrpc\":\"2.0\",\"method\":\"streamNotify\",\"params\":{\"streamId\":\"Service\",\"event\":{\"type\":\"Event\",\"kind\":\"ServiceUnregistered\",\"timestamp\":1635409335260,\"service\":\"launchDevTools\",\"method\":\"s2.launchDevTools\"}}}\n","severity":0,"category":10}}
[12:22:15 PM] [VmService] [Info] [Base Dev] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Service","event":{"type":"Event","kind":"ServiceUnregistered","timestamp":1635409335260,"service":"launchDevTools","method":"s2.launchDevTools"}}}
[12:22:15 PM] [DAP] [Info] ==> {"seq":775714,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:15 PM] [DAP] [Info] ==> {"seq":775715,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:15 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:15 PM] [DAP] [Info] ==> {"seq":775716,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:15 PM] [DAP] [Info] ==> {"seq":775717,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:15 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:15 PM] [DAP] [Info] ==> {"seq":775718,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:15 PM] [DAP] [Info] ==> {"seq":775719,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:15 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:15 PM] [DevTools] [Info] <== {"event":"server.started","method":"server.started","params":{"host":"127.0.0.1","port":9101,"pid":16257,"protocolVersion":"1.1.0"}}
[12:22:15 PM] [DevTools] [Info] ==> {"id":"1","method":"vm.register","params":{"uri":"http://127.0.0.1:64334/TKNDRKw9Wtc=/"}}
[12:22:15 PM] [General] [Error] DevTools URL not available
[12:22:15 PM] [DAP] [Info] ==> {"seq":775720,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:15 PM] [DAP] [Info] ==> {"seq":775721,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:15 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:16 PM] [DAP] [Info] ==> {"seq":775722,"type":"event","event":"dart.log","body":{"message":"<== {\"jsonrpc\":\"2.0\",\"method\":\"streamNotify\",\"params\":{\"streamId\":\"Service\",\"event\":{\"type\":\"Event\",\"kind\":\"ServiceRegistered\",\"timestamp\":1635409336052,\"service\":\"launchDevTools\",\"method\":\"s2.launchDevTools\",\"alias\":\"DevTools Server\"}}}\n","severity":0,"category":10}}
[12:22:16 PM] [DAP] [Info] ==> {"seq":775723,"type":"event","event":"dart.serviceRegistered","body":{"service":"launchDevTools","method":"s2.launchDevTools"}}
[12:22:16 PM] [DevTools] [Info] <== {"id":"1","result":{"success":true}}
[12:22:16 PM] [VmService] [Info] [Base Dev] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Service","event":{"type":"Event","kind":"ServiceRegistered","timestamp":1635409336052,"service":"launchDevTools","method":"s2.launchDevTools","alias":"DevTools Server"}}}
[12:22:16 PM] [DAP] [Info] ==> {"seq":775724,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:16 PM] [DAP] [Info] ==> {"seq":775725,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:16 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:16 PM] [DAP] [Info] ==> {"seq":775726,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:16 PM] [DAP] [Info] ==> {"seq":775727,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:16 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:16 PM] [DAP] [Info] ==> {"seq":775728,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:16 PM] [DAP] [Info] ==> {"seq":775729,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:16 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:16 PM] [DAP] [Info] ==> {"seq":775730,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:16 PM] [DAP] [Info] ==> {"seq":775731,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:16 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:17 PM] [DAP] [Info] ==> {"seq":775732,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:17 PM] [DAP] [Info] ==> {"seq":775733,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:17 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:17 PM] [DAP] [Info] ==> {"seq":775734,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:17 PM] [DAP] [Info] ==> {"seq":775735,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:17 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:17 PM] [DAP] [Info] ==> {"seq":775736,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:17 PM] [DAP] [Info] ==> {"seq":775737,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:17 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:17 PM] [DAP] [Info] ==> {"seq":775738,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:17 PM] [DAP] [Info] ==> {"seq":775739,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:17 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:17 PM] [DAP] [Info] ==> {"seq":775740,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:17 PM] [DAP] [Info] ==> {"seq":775741,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:17 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:18 PM] [DAP] [Info] ==> {"seq":775742,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:18 PM] [DAP] [Info] ==> {"seq":775743,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
[12:22:18 PM] [FlutterRun] [Info] [Base Dev] <== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[12:22:18 PM] [DAP] [Info] ==> {"seq":775744,"type":"event","event":"dart.log","body":{"message":"<== [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\r\n","severity":0,"category":8}}
[12:22:18 PM] [DAP] [Info] ==> {"seq":775745,"type":"event","event":"output","body":{"category":"stdout","output":"[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port\n"}}
Thu Oct 28 2021 [12:22:18 GMT+0400 (Armenia Standard Time)] Log file ended

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
DanTupcommented, Oct 28, 2021

Can you try setting the dart.devToolsLogFile setting in your VS Code settings to a path for logging, eg.:

"dart.devToolsLogFile": "C:\\devtools.txt"

Then restart VS Code, open a Flutter project and (without starting debugging), just click DevTools in the status bar and see if it opens. If not, please check the log file for any errors or useful messages.

1reaction
DanTupcommented, Nov 1, 2021

Sorry for the delay! I’m not sure what’s happened here, but if you see it again please do let me know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dart DevTools showing "Connect to a running app"
Paste the URL you got from running your app (http://127.0.0.1:9200/Swm0bjIe0ks=/) into the connect dialog to connect your app to DevTools.
Read more >
Install and run DevTools from the command line | Flutter
Start an application to debug; Open DevTools and connect to the target app ... Keep note of this URL, as you will use...
Read more >
Issues: Find and fix problems - Chrome Developers
# Open the Issues tab · Visit a page with issues to fix, such as samesite-sandbox.glitch.me. · Open DevTools. · Click the Open...
Read more >
Use Chrome Developer Tools to check tags - Google Support
Chrome's Developer Tools allow you to quickly analyze the content/resources of a webpage. This helps you check your Campaign Manager 360 tags.
Read more >
Anyone got Flutter's DevTools working? : r/Crostini - Reddit
0.1, which I think like Angular is not open by default to outside connections, e.g. from my Chrome browser. The solution with Angular...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found