-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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 runor via IntelliJ) - set one breakpoint
- issue a hot reload w/ the
pauseparam 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
PausePostRequestevent 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.