Closed
Description
Describe the bug
When i start lsp-dart-run
or Flutter :: Debug
template i see next warning messages:
[jsonrpc] (warning) Invalid JSON: (json-end-of-file "'}' expected near end of file" "<string>" 1 110 110)
[jsonrpc] (warning) Invalid JSON: (json-trailing-content "end of file expected near ':'" "<string>" 1 5 5) [2 times]
Device list is not displayed. lsp-dart-dap-setup
pressed.
Several week ago it worked fine, but after i updated packages it broke
result of lsp-dart-dap-setup
command
LSP :: Starting to download https://github.com/Dart-Code/Dart-Code/releases/download/v3.52.0/dart-code-3.52.0.vsix to /Users/darkawower/.emacs.d/.local/cache/.extension/github/Dart-Code/Dart-Code/3.52.0/dart-code.zip...
Contacting host: github.com:443
Wrote /Users/darkawower/.emacs.d/.local/cache/.extension/github/Dart-Code/Dart-Code/3.52.0/dart-code.zip
LSP :: Finished downloading /Users/darkawower/.emacs.d/.local/cache/.extension/github/Dart-Code/Dart-Code/3.52.0/dart-code.zip...
LSP :: Decompressing /Users/darkawower/.emacs.d/.local/cache/.extension/github/Dart-Code/Dart-Code/3.52.0/dart-code.zip...
(Shell command succeeded with no output)
LSP :: Decompressed /Users/darkawower/.emacs.d/.local/cache/.extension/github/Dart-Code/Dart-Code/3.52.0/dart-code...
[LSP Dart] Dart debugger installed successfully!
To Reproduce
- Create flutter app
- run
lsp-dart-dap-setup
- Try to start debug session
Expected behavior
Debug works correctly, i can see list of emulated device and start debug session
Version
[LSP Dart] 1.24.0 at 2022.11.06 @ Emacs 28.2
[Dart SDK] Dart SDK version: 2.18.2 (stable) (Tue Sep 27 13:24:11 2022 +0200) on "macos_arm64"
[Flutter SDK] /Users/darkawower/dev/flutter/
[Flutter project] true
[Project entrypoint] /Users/darkawower/projects/poligon/flutter/first_app/lib/main.dart
Metadata
Metadata
Assignees
Labels
No labels