dart-lang / webdev

A CLI for Dart web development.
https://pub.dev/packages/webdev
212 stars 75 forks source link

Triggering a pause can hit a JS frame #2467

Open elliette opened 3 months ago

elliette commented 3 months ago

Spinning off from https://github.com/flutter/devtools/issues/5287

When a user triggers a pause of a web app, we sometimes can pause in JS code instead of Dart code. One solution would be to continue stepping until we reach a Dart frame. Another solution would be to expose the JS frames to the debugging client.