dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.57k forks source link

When starting flutter with DAP it fails to pause thread #57006

Open sidlatau opened 13 hours ago

sidlatau commented 13 hours ago

With new 3.24 flutter version DAP shows error when starting an app. No breakpoints are set manually, but it tries to stop. Sometimes it stops at some random spot in framework code, sometimes it shows error "Thread 1 is not paused".

There is related issue registered in https://github.com/nvim-flutter/flutter-tools.nvim/issues/402 which may provide additional details.

Client: neovim

Code to reproduce: for me the problem occurs in every repository, I tested with this one: https://github.com/sidlatau/flutter_email_sender/tree/master/example

[ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ]    1   {
  body = {
    error = {
      format = "{message}",
      id = 1,
      showUser = true,
      variables = {
        message = "Thread 1 is not paused",
        stack = "#0      DartDebugAdapter.stackTraceRequest (package:dds/src/dap/adapters/dart.dart:1847:7)\n#1      BaseDebugAdapter.handle (package:dds/src/dap/base_debug_adapter.dart:141:20)\n#2      BaseDebugAdapter.handleIncomingRequest (package:dds/src/dap/base_debug_adapter.dart:440:7)\n#3      BaseDebugAdapter._handleIncomingMessage (package:dds/src/dap/base_debug_adapter.dart:309:7)\n#4      ByteStreamServerChannel._readMessage (package:dds/src/dap/protocol_stream.dart:82:18)\n#5      ByteStreamServerChannel.listen.<anonymous closure> (package:dds/src/dap/protocol_stream.dart:53:24)\n#6      _rootRunUnary (dart:async/zone.dart:1407:47)\n#7      _CustomZone.runUnary (dart:async/zone.dart:1308:19)\n#8      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217:7)\n#9      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365:11)\n#10     _DelayedData.perform (dart:async/stream_impl.dart:541:14)\n#11     _PendingEvents.handleNext (dart:async/stream_impl.dart:646:11)\n#12     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:617:7)\n#13     _rootRun (dart:async/zone.dart:1391:47)\n#14     _CustomZone.run (dart:async/zone.dart:1301:19)\n#15     _CustomZone.runGuarded (dart:async/zone.dart:1209:7)\n#16     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249:23)\n#17     _rootRun (dart:async/zone.dart:1399:13)\n#18     _CustomZone.run (dart:async/zone.dart:1301:19)\n#19     _CustomZone.runGuarded (dart:async/zone.dart:1209:7)\n#20     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249:23)\n#21     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)\n#22     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)\n#23     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)\n#24     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)\n"
      }
    }
  },
  command = "stackTrace",
  message = "Thread 1 is not paused",
  request_seq = 6,
  seq = 28,
  success = false,
  type = "response"
}
Flutter doctor output ``` [✓] Flutter (Channel stable, 3.24.4, on macOS 14.6.1 23G93 darwin-arm64, locale en-LT) • Flutter version 3.24.4 on channel stable at /Users/ts/fvm/versions/3.24.4 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 603104015d (7 days ago), 2024-10-24 08:01:25 -0700 • Engine revision db49896cf2 • Dart version 3.5.4 • DevTools version 2.37.3 [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /Users/ts/Library/Android/sdk • Platform android-34, build-tools 32.1.0-rc1 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15A507 • CocoaPods version 1.16.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [✓] IntelliJ IDEA Community Edition (version 2022.2.3) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] VS Code (version 1.80.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.68.0 [✓] Connected device (4 available) • iPhone 14 (mobile) • B6F362F3-5630-4010-B0B7-F57858E33F9B • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.6.1 23G93 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 130.0.6723.70 [✓] Network resources • All expected network resources are available. • No issues found! ```
DAP log ``` [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1434 ] "Spawning debug adapter" { args = { "debug-adapter" }, command = "/Users/ts/fvm/versions/3.24.4/bin/flutter", type = "executable" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1746 ] "request" { arguments = { adapterID = "nvim-dap", clientID = "neovim", clientName = "neovim", columnsStartAt1 = true, linesStartAt1 = true, locale = "en_US.UTF-8", pathFormat = "path", supportsProgressReporting = true, supportsRunInTerminalRequest = true, supportsStartDebuggingRequest = true, supportsVariableType = true }, command = "initialize", seq = 1, type = "request" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { exceptionBreakpointFilters = { { default = false, filter = "All", label = "All Exceptions" }, { default = true, filter = "Unhandled", label = "Uncaught Exceptions" } }, supportsClipboardContext = true, supportsConditionalBreakpoints = true, supportsConfigurationDoneRequest = true, supportsDelayedStackTraceLoading = true, supportsEvaluateForHovers = true, supportsLogPoints = true, supportsRestartFrame = true, supportsRestartRequest = false, supportsTerminateRequest = true, supportsValueFormattingOptions = true }, command = "initialize", request_seq = 1, seq = 1, success = true, type = "response" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1746 ] "request" { arguments = { args = {}, cwd = "/Users/ts/Documents/github/personal/flutter_email_sender/example", dartSdkPath = "/Users/ts/fvm/versions/3.24.4/bin/cache/dart-sdk", evaluateToStringInDebugViews = true, flutterSdkPath = "/Users/ts/fvm/versions/3.24.4", name = "Launch flutter", program = "lib/main.dart", request = "launch", type = "dart" }, command = "launch", seq = 2, type = "request" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = vim.empty_dict(), event = "initialized", seq = 2, type = "event" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1746 ] "request" { arguments = { filters = {} }, command = "setExceptionBreakpoints", seq = 3, type = "request" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = vim.empty_dict(), command = "setExceptionBreakpoints", request_seq = 3, seq = 3, success = true, type = "response" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1746 ] "request" { command = "configurationDone", seq = 4, type = "request" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { command = "configurationDone", request_seq = 4, seq = 4, success = true, type = "response" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { message = "Launching…", progressId = "launch_1", title = "Flutter" }, event = "progressStart", seq = 5, type = "event" } [ DEBUG ] 2024-10-31T21:59:08Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { command = "launch", request_seq = 2, seq = 6, success = true, type = "response" } [ DEBUG ] 2024-10-31T21:59:17Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { capabilities = { supportsRestartRequest = true } }, event = "capabilities", seq = 7, type = "event" } [ DEBUG ] 2024-10-31T21:59:17Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { appId = "d72c7bdc-d85e-4585-b637-f66bc4251455", deviceId = "B6F362F3-5630-4010-B0B7-F57858E33F9B", directory = "/Users/ts/Documents/github/personal/flutter_email_sender/example", launchMode = "run", mode = "debug", supportsRestart = true }, event = "flutter.appStart", seq = 8, type = "event" } [ WARN ] 2024-10-31T21:59:17Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = { appId = "d72c7bdc-d85e-4585-b637-f66bc4251455", deviceId = "B6F362F3-5630-4010-B0B7-F57858E33F9B", directory = "/Users/ts/Documents/github/personal/flutter_email_sender/example", launchMode = "run", mode = "debug", supportsRestart = true }, event = "flutter.appStart", seq = 8, type = "event" } [ DEBUG ] 2024-10-31T21:59:17Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { category = "console", output = "Launching lib/main.dart on iPhone 14 in debug mode...\n" }, event = "output", seq = 9, type = "event" } [ DEBUG ] 2024-10-31T21:59:33Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { message = "Running Xcode build...", progressId = "launch_1" }, event = "progressUpdate", seq = 10, type = "event" } [ DEBUG ] 2024-10-31T21:59:40Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { category = "console", output = "Xcode build done. 6.6s\n" }, event = "output", seq = 11, type = "event" } [ DEBUG ] 2024-10-31T21:59:45Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { message = "Syncing files to device iPhone 14...", progressId = "launch_1" }, event = "progressUpdate", seq = 12, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { progressId = "launch_1" }, event = "progressEnd", seq = 13, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { output = "Connecting to VM Service at ws://127.0.0.1:60535/MUnQ00TZ0Fw=/ws\n" }, event = "output", seq = 14, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { output = "Connected to the VM Service.\n" }, event = "output", seq = 15, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { vmServiceUri = "ws://127.0.0.1:60535/MUnQ00TZ0Fw=/ws" }, event = "dart.debuggerUris", seq = 16, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { reason = "started", threadId = 1 }, event = "thread", seq = 17, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { reason = "entry", threadId = 1 }, event = "stopped", seq = 18, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1746 ] "request" { command = "threads", seq = 5, type = "request" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = vim.empty_dict(), event = "flutter.appStarted", seq = 19, type = "event" } [ WARN ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = vim.empty_dict(), event = "flutter.appStarted", seq = 19, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { method = "s0.reloadSources", service = "reloadSources" }, event = "dart.serviceRegistered", seq = 20, type = "event" } [ WARN ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = { method = "s0.reloadSources", service = "reloadSources" }, event = "dart.serviceRegistered", seq = 20, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { method = "s0.hotRestart", service = "hotRestart" }, event = "dart.serviceRegistered", seq = 21, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { method = "s0.flutterVersion", service = "flutterVersion" }, event = "dart.serviceRegistered", seq = 22, type = "event" } [ WARN ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = { method = "s0.hotRestart", service = "hotRestart" }, event = "dart.serviceRegistered", seq = 21, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { method = "s0.compileExpression", service = "compileExpression" }, event = "dart.serviceRegistered", seq = 23, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { method = "s0.flutterMemoryInfo", service = "flutterMemoryInfo" }, event = "dart.serviceRegistered", seq = 24, type = "event" } [ WARN ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = { method = "s0.flutterVersion", service = "flutterVersion" }, event = "dart.serviceRegistered", seq = 22, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { method = "s0.flutterGetSkSL", service = "flutterGetSkSL" }, event = "dart.serviceRegistered", seq = 25, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { threadId = 1 }, event = "continued", seq = 26, type = "event" } [ WARN ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = { method = "s0.compileExpression", service = "compileExpression" }, event = "dart.serviceRegistered", seq = 23, type = "event" } [ WARN ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = { method = "s0.flutterMemoryInfo", service = "flutterMemoryInfo" }, event = "dart.serviceRegistered", seq = 24, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { threads = { { id = 1, name = "main" } } }, command = "threads", request_seq = 5, seq = 27, success = true, type = "response" } [ WARN ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1063 ] "No event handler for " { body = { method = "s0.flutterGetSkSL", service = "flutterGetSkSL" }, event = "dart.serviceRegistered", seq = 25, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1746 ] "request" { arguments = { startFrame = 0, threadId = 1 }, command = "stackTrace", seq = 6, type = "request" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { error = { format = "{message}", id = 1, showUser = true, variables = { message = "Thread 1 is not paused", stack = "#0 DartDebugAdapter.stackTraceRequest (package:dds/src/dap/adapters/dart.dart:1847:7)\n#1 BaseDebugAdapter.handle (package:dds/src/dap/base_debug_adapter.dart:141:20)\n#2 BaseDebugAdapter.handleIncomingRequest (package:dds/src/dap/base_debug_adapter.dart:440:7)\n#3 BaseDebugAdapter._handleIncomingMessage (package:dds/src/dap/base_debug_adapter.dart:309:7)\n#4 ByteStreamServerChannel._readMessage (package:dds/src/dap/protocol_stream.dart:82:18)\n#5 ByteStreamServerChannel.listen. (package:dds/src/dap/protocol_stream.dart:53:24)\n#6 _rootRunUnary (dart:async/zone.dart:1407:47)\n#7 _CustomZone.runUnary (dart:async/zone.dart:1308:19)\n#8 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217:7)\n#9 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365:11)\n#10 _DelayedData.perform (dart:async/stream_impl.dart:541:14)\n#11 _PendingEvents.handleNext (dart:async/stream_impl.dart:646:11)\n#12 _PendingEvents.schedule. (dart:async/stream_impl.dart:617:7)\n#13 _rootRun (dart:async/zone.dart:1391:47)\n#14 _CustomZone.run (dart:async/zone.dart:1301:19)\n#15 _CustomZone.runGuarded (dart:async/zone.dart:1209:7)\n#16 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249:23)\n#17 _rootRun (dart:async/zone.dart:1399:13)\n#18 _CustomZone.run (dart:async/zone.dart:1301:19)\n#19 _CustomZone.runGuarded (dart:async/zone.dart:1209:7)\n#20 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249:23)\n#21 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)\n#22 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)\n#23 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)\n#24 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)\n" } } }, command = "stackTrace", message = "Thread 1 is not paused", request_seq = 6, seq = 28, success = false, type = "response" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.reassemble", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 29, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.exit", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 30, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.connectedVmServiceUri", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 31, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.activeDevToolsServerAddress", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 32, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.platformOverride", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 33, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.brightnessOverride", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 34, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.timeDilation", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 35, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.evict", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 36, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.profilePlatformChannels", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 37, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.invertOversizedImages", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 38, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugPaint", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 39, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugPaintBaselinesEnabled", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 40, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.repaintRainbow", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 41, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDumpLayerTree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 42, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDisableClipLayers", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 43, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDisablePhysicalShapeLayers", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 44, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDisableOpacityLayers", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 45, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDumpRenderTree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 46, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDumpSemanticsTreeInTraversalOrder", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 47, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDumpSemanticsTreeInInverseHitTestOrder", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 48, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.profileRenderObjectPaints", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 49, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.profileRenderObjectLayouts", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 50, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDumpApp", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 51, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugDumpFocusTree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 52, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.showPerformanceOverlay", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 53, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.didSendFirstFrameEvent", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 54, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.didSendFirstFrameRasterizedEvent", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 55, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.profileWidgetBuilds", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 56, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.profileUserWidgetBuilds", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 57, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.debugAllowBanner", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 58, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.structuredErrors", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 59, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.show", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 60, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.trackRebuildDirtyWidgets", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 61, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.widgetLocationIdMap", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 62, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.trackRepaintWidgets", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 63, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.disposeAllGroups", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 64, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.disposeGroup", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 65, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.isWidgetTreeReady", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 66, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.disposeId", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 67, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.setPubRootDirectories", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 68, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.addPubRootDirectories", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 69, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.removePubRootDirectories", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 70, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getPubRootDirectories", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 71, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.setSelectionById", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 72, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getParentChain", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 73, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getProperties", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 74, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getChildren", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 75, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getChildrenSummaryTree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 76, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getChildrenDetailsSubtree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 77, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getRootWidget", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 78, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getRootWidgetSummaryTree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 79, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getRootWidgetSummaryTreeWithPreviews", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 80, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getRootWidgetTree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 81, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getDetailsSubtree", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 82, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getSelectedWidget", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 83, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getSelectedSummaryWidget", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 84, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.isWidgetCreationTracked", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 85, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.screenshot", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 86, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.getLayoutExplorerNode", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 87, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.setFlexFit", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 88, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.setFlexFactor", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 89, type = "event" } [ DEBUG ] 2024-10-31T21:59:46Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extensionRPC = "ext.flutter.inspector.setFlexProperties", isolateId = "isolates/273766957761515" }, event = "dart.serviceExtensionAdded", seq = 90, type = "event" } [ DEBUG ] 2024-10-31T21:59:47Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extension = "ext.flutter.activeDevToolsServerAddress", value = "http://127.0.0.1:9108" }, event = "flutter.serviceExtensionStateChanged", seq = 91, type = "event" } [ DEBUG ] 2024-10-31T21:59:47Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1013 ] 1 { body = { extension = "ext.flutter.connectedVmServiceUri", value = "http://127.0.0.1:60535/MUnQ00TZ0Fw=/" }, event = "flutter.serviceExtensionStateChanged", seq = 92, type = "event" } [ DEBUG ] 2024-10-31T22:05:42Z+0100 ] ...s/ts/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1746 ] "request" { arguments = vim.empty_dict(), command = "terminate", seq = 7, type = "request" } ```
dart-github-bot commented 13 hours ago

Summary: The Dart Debug Adapter (DAP) fails to pause threads when starting a Flutter app in the new 3.24 version. The DAP sometimes stops at random locations in the framework code or shows an error indicating that Thread 1 is not paused.

a-siva commented 12 hours ago

//cc @DanTup