-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed
Labels
t: hot reloadReloading code during "flutter run"Reloading code during "flutter run"toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
When hot reloading a flutter app with the pause
parameter set to true, I see a crash. This is for:
- running against an iOS simulator (I have not tried an Android device)
- run the app (
flutter run
or via IntelliJ) - set one breakpoint
- issue a hot reload w/ the
pause
param to true (https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/hot.dart#L507) - the crash below is consistent; it looks like we do get the
PausePostRequest
event back in the client, right before the crash
../../dart/runtime/vm/debugger_api_impl.cc: 181: error: unimplemented code
Dumping native stack trace for thread 3003
[0x0000000105806e41] dart::Profiler::DumpStackTrace(bool)
[0x00000001054e7833] dart::DynamicAssertionHelper::Fail(char const*, ...)
[0x00000001054dc67f] dart::DebuggerEventHandler(dart::ServiceEvent*)
[0x00000001055e22de] dart::Debugger::Pause(dart::ServiceEvent*)
[0x00000001055e1b62] dart::Debugger::PauseRequest(dart::ServiceEvent::EventKind)
[0x00000001056aaf3b] dart::Isolate::PausePostRequest()
-- End of DumpStackTrace
Metadata
Metadata
Assignees
Labels
t: hot reloadReloading code during "flutter run"Reloading code during "flutter run"toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.