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

Issue 1699153002: Add step OverAwait to service protocol (Closed)

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

Description

Add step OverAwait to service protocol Additions to service protocol: - PauseEvent includes an "atAsyncContinuation" boolean value. - Resume command can take an 'OverAsyncContinuation' step mode. - Breakpoints have an optional 'isSyntheticAsyncContinuation' boolean value. Added low level step_over_await_test. Issuing the OverAsyncContinuation resume command does the following: - Adds a synthetic breakpoint (#1) to the async closure. - Resumes the isolate. - When we hit #1, the VM issues a StepOver and then reports us paused at #1. At the next resume command, the VM will remove #1. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/5c8d79c55a69c6a80072a8eb8307e7e38085357b

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 15

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+397 lines, -228 lines) Patch
M runtime/observatory/lib/src/elements/debugger.dart View 1 2 3 4 5 6 7 2 chunks +3 lines, -4 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 4 5 6 7 6 chunks +17 lines, -93 lines 0 comments Download
D runtime/observatory/tests/service/async_continuation_test.dart View 1 2 3 1 chunk +0 lines, -95 lines 0 comments Download
M runtime/observatory/tests/service/async_next_test.dart View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/observatory/tests/service/get_version_rpc_test.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/tests/service/smart_next_test.dart View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
A runtime/observatory/tests/service/step_over_await_test.dart View 1 2 3 4 5 6 7 1 chunk +170 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 1 2 3 4 5 6 7 2 chunks +75 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/vm_timeline_flags_test.dart View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/debugger.h View 1 2 3 4 5 6 7 8 chunks +24 lines, -4 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 4 5 6 7 11 chunks +76 lines, -8 lines 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 5 6 7 3 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/service/service.md View 1 2 3 4 5 6 7 4 chunks +13 lines, -1 line 0 comments Download
M runtime/vm/service_event.h View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
M runtime/vm/service_event.cc View 1 2 3 4 5 6 7 4 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Cutch
4 years, 10 months ago (2016-02-16 16:33:28 UTC) #3
rmacnak
https://chromiumcodereview.appspot.com/1699153002/diff/40001/runtime/observatory/lib/src/service/object.dart File runtime/observatory/lib/src/service/object.dart (right): https://chromiumcodereview.appspot.com/1699153002/diff/40001/runtime/observatory/lib/src/service/object.dart#newcode1599 runtime/observatory/lib/src/service/object.dart:1599: final Completer breakpointRemoved = new Completer(); It would make ...
4 years, 10 months ago (2016-02-16 21:21:59 UTC) #5
Cutch
PTAL https://chromiumcodereview.appspot.com/1699153002/diff/40001/runtime/observatory/lib/src/service/object.dart File runtime/observatory/lib/src/service/object.dart (right): https://chromiumcodereview.appspot.com/1699153002/diff/40001/runtime/observatory/lib/src/service/object.dart#newcode1599 runtime/observatory/lib/src/service/object.dart:1599: final Completer breakpointRemoved = new Completer(); On 2016/02/16 ...
4 years, 10 months ago (2016-02-17 18:24:21 UTC) #6
rmacnak
lgtm w/ version bump and "suspension" names https://chromiumcodereview.appspot.com/1699153002/diff/100001/runtime/vm/service/service.md File runtime/vm/service/service.md (right): https://chromiumcodereview.appspot.com/1699153002/diff/100001/runtime/vm/service/service.md#newcode1216 runtime/vm/service/service.md:1216: // Is ...
4 years, 10 months ago (2016-02-17 18:52:00 UTC) #8
Cutch
https://chromiumcodereview.appspot.com/1699153002/diff/100001/runtime/vm/service/service.md File runtime/vm/service/service.md (right): https://chromiumcodereview.appspot.com/1699153002/diff/100001/runtime/vm/service/service.md#newcode1216 runtime/vm/service/service.md:1216: // Is the isolate paused at an await statement? ...
4 years, 10 months ago (2016-02-17 18:59:03 UTC) #9
Cutch
4 years, 10 months ago (2016-02-17 19:03:00 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
5c8d79c55a69c6a80072a8eb8307e7e38085357b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698