Skip to content

hot reload doesn't work when stopped at a breakpoint #969

@skybrian

Description

@skybrian

To reproduce:

  • create a new Flutter project
  • set a breakpoint at _counter++;
  • launch in debugger
  • press button to stop at breakpoint
  • press hot reload icon

At this point, a background task spins: "Intializing hot reload..." and that Flutter app is still frozen. Pressing "Resume Program" doesn't help.

A message is logged:

[ 984658]   WARN - o.flutter.run.daemon.DaemonApi - Flutter process returned an error: {"id":1,"error":"TimeoutException: Request to Dart VM Service timed out: _flutter.listViews({})"} 

Versions:

Flutter plugin at HEAD,

$ flutter --version
Flutter • channel master • https://github.com/flutter/flutter.git
Framework • revision 1d6a8249f8 (4 days ago) • 2017-04-27 13:34:48 -0700
Engine • revision c0f1e3b47b
Tools • Dart 1.23.0-dev.11.11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions