Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Issue 1217823009: Make VM event streams look like real dart streams. (Closed)

Created:
5 years, 5 months ago by turnidge
Modified:
5 years, 5 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make VM event streams look like real dart streams. This is a bit ugly in that vm event streams are created asynchronously, which is not very natural with the dart libs. Update tests accordingly. BUG= R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/c4dad3117a700f8b0915388ed485de71c324bf79

Patch Set 1 #

Patch Set 2 : Polish #

Total comments: 8

Patch Set 3 : code review #

Patch Set 4 : code review 2 #

Patch Set 5 : tweaks #

Patch Set 6 : merge with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -155 lines) Patch
M runtime/observatory/lib/service_common.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/app/application.dart View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/observatory/lib/src/app/page.dart View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/debugger.dart View 1 2 3 4 7 chunks +18 lines, -7 lines 0 comments Download
M runtime/observatory/lib/src/elements/heap_profile.dart View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M runtime/observatory/lib/src/elements/ports.dart View 2 chunks +1 line, -3 lines 0 comments Download
M runtime/observatory/lib/src/elements/service_view.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 6 chunks +120 lines, -17 lines 0 comments Download
M runtime/observatory/tests/service/async_generator_breakpoint_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/break_on_activation_test.dart View 1 2 6 chunks +27 lines, -27 lines 0 comments Download
M runtime/observatory/tests/service/code_test.dart View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M runtime/observatory/tests/service/coverage_test.dart View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M runtime/observatory/tests/service/debugger_inspect_test.dart View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/debugger_location_test.dart View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M runtime/observatory/tests/service/debugging_inlined_finally_test.dart View 4 chunks +15 lines, -16 lines 0 comments Download
M runtime/observatory/tests/service/debugging_test.dart View 1 2 7 chunks +14 lines, -7 lines 0 comments Download
M runtime/observatory/tests/service/echo_test.dart View 1 chunk +14 lines, -11 lines 0 comments Download
M runtime/observatory/tests/service/eval_test.dart View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M runtime/observatory/tests/service/evaluate_activation_test.dart View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M runtime/observatory/tests/service/gc_test.dart View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/get_ports_rpc_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/isolate_lifecycle_test.dart View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/library_dependency_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/observatory/tests/service/pause_on_exceptions_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/steal_breakpoint_test.dart View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 1 2 3 chunks +25 lines, -17 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
turnidge
5 years, 5 months ago (2015-07-07 20:23:56 UTC) #2
Cutch
https://codereview.chromium.org/1217823009/diff/20001/runtime/observatory/lib/src/elements/debugger.dart File runtime/observatory/lib/src/elements/debugger.dart (right): https://codereview.chromium.org/1217823009/diff/20001/runtime/observatory/lib/src/elements/debugger.dart#newcode1281 runtime/observatory/lib/src/elements/debugger.dart:1281: _isolateSubscriptionFuture.then((subscription) => subscription.cancel()); Bracket with `if (_isolateSubscriptionFuture != null)` ...
5 years, 5 months ago (2015-07-07 23:16:09 UTC) #3
turnidge
Please take another look. https://codereview.chromium.org/1217823009/diff/20001/runtime/observatory/lib/src/elements/debugger.dart File runtime/observatory/lib/src/elements/debugger.dart (right): https://codereview.chromium.org/1217823009/diff/20001/runtime/observatory/lib/src/elements/debugger.dart#newcode1281 runtime/observatory/lib/src/elements/debugger.dart:1281: _isolateSubscriptionFuture.then((subscription) => subscription.cancel()); On 2015/07/07 ...
5 years, 5 months ago (2015-07-08 20:23:39 UTC) #4
Cutch
lgtm
5 years, 5 months ago (2015-07-08 20:27:03 UTC) #5
turnidge
5 years, 5 months ago (2015-07-08 21:19:04 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
c4dad3117a700f8b0915388ed485de71c324bf79 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698