Skip to content

Conversation

@derekxu16
Copy link
Contributor

@derekxu16 derekxu16 commented Sep 6, 2024

Revival of #2306

Issue: #2338

@google-cla
Copy link

google-cla bot commented Sep 6, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@derekxu16 derekxu16 force-pushed the migrate-client-to-package-web branch 7 times, most recently from 11040b5 to 210d303 Compare September 11, 2024 19:37
@derekxu16 derekxu16 force-pushed the migrate-client-to-package-web branch from 210d303 to 7a98931 Compare October 3, 2024 15:55
@derekxu16 derekxu16 requested a review from bkonyi October 7, 2024 14:13
@derekxu16 derekxu16 marked this pull request as ready for review October 7, 2024 14:13
@derekxu16 derekxu16 force-pushed the migrate-client-to-package-web branch from 7a98931 to b8d31a8 Compare October 7, 2024 14:38
@derekxu16 derekxu16 merged commit a5ac4ac into dart-lang:main Oct 7, 2024
@derekxu16 derekxu16 deleted the migrate-client-to-package-web branch October 7, 2024 15:57
iinozemtsev added a commit to iinozemtsev/webdev that referenced this pull request Nov 27, 2025
In dart-lang#2491, the reloader was changed to
pass two arguments instead of an object with two fields into dartLibrary.reload.
As a result, the javascript side couldn't find the promise in a field of the
first argument and ignored the second argument. Usually it is fine, but this
broke postponing main launch until the attached debugger can configure breakpoints.

Again, this is not a big deal for interactive long-running apps, but if the main is
fast and short (e.g. tests), this effectively prevents interactive debugging from an IDE.
@iinozemtsev iinozemtsev mentioned this pull request Nov 27, 2025
1 task
iinozemtsev added a commit to iinozemtsev/webdev that referenced this pull request Nov 27, 2025
In dart-lang#2491, the reloader was changed to
pass two arguments instead of an object with two fields into dartLibrary.reload.
As a result, the javascript side couldn't find the promise in a field of the
first argument and ignored the second argument. Usually it is fine, but this
broke postponing main launch until the attached debugger can configure breakpoints.

Again, this is not a big deal for interactive long-running apps, but if the main is
fast and short (e.g. tests), this effectively prevents interactive debugging from an IDE.
iinozemtsev added a commit that referenced this pull request Nov 27, 2025
In #2491, the reloader was changed to
pass two arguments instead of an object with two fields into dartLibrary.reload.
As a result, the javascript side couldn't find the promise in a field of the
first argument and ignored the second argument. Usually it is fine, but this
broke postponing main launch until the attached debugger can configure breakpoints.

Again, this is not a big deal for interactive long-running apps, but if the main is
fast and short (e.g. tests), this effectively prevents interactive debugging from an IDE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants