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

Issue 2768103002: Debugger support for step-into async and async* functions. (Closed)

Created:
3 years, 9 months ago by Cutch
Modified:
3 years, 9 months ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Debugger support for step-into async and async* functions. - [x] Support stepping into an async function. - [x] Support stepping into the async generator in an await for loop. - [x] Unit test for async function. - [x] Unit test for async* function. BUG= R=asiva@google.com, rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/07a257573d1a2323ba6cb7a4fec629a167765e0c

Patch Set 1 #

Patch Set 2 : tweaks and self review #

Total comments: 20

Patch Set 3 : rmacnak review #

Total comments: 8

Patch Set 4 : asiva review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -19 lines) Patch
A runtime/lib/async.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M runtime/lib/async_patch.dart View 2 chunks +17 lines, -1 line 0 comments Download
M runtime/lib/async_sources.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/lib/stacktrace.cc View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
A runtime/observatory/tests/service/async_single_step_into_test.dart View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A runtime/observatory/tests/service/async_star_single_step_into_test.dart View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/debugger.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 2 chunks +52 lines, -0 lines 0 comments Download
M runtime/vm/flag_list.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M runtime/vm/object_store.h View 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/object_store.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 5 chunks +31 lines, -12 lines 0 comments Download
M runtime/vm/symbols.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Cutch
3 years, 9 months ago (2017-03-22 20:37:36 UTC) #3
rmacnak
lgtm w/c https://codereview.chromium.org/2768103002/diff/20001/runtime/observatory/tests/service/async_single_step_into_test.dart File runtime/observatory/tests/service/async_single_step_into_test.dart (right): https://codereview.chromium.org/2768103002/diff/20001/runtime/observatory/tests/service/async_single_step_into_test.dart#newcode27 runtime/observatory/tests/service/async_single_step_into_test.dart:27: } Add an extra statement after helper() ...
3 years, 9 months ago (2017-03-23 20:20:18 UTC) #4
Cutch
https://codereview.chromium.org/2768103002/diff/20001/runtime/observatory/tests/service/async_single_step_into_test.dart File runtime/observatory/tests/service/async_single_step_into_test.dart (right): https://codereview.chromium.org/2768103002/diff/20001/runtime/observatory/tests/service/async_single_step_into_test.dart#newcode27 runtime/observatory/tests/service/async_single_step_into_test.dart:27: } On 2017/03/23 20:20:18, rmacnak wrote: > Add an ...
3 years, 9 months ago (2017-03-23 21:24:51 UTC) #5
siva
lgtm https://codereview.chromium.org/2768103002/diff/40001/runtime/lib/stacktrace.cc File runtime/lib/stacktrace.cc (right): https://codereview.chromium.org/2768103002/diff/40001/runtime/lib/stacktrace.cc#newcode134 runtime/lib/stacktrace.cc:134: } Why did you include this function here ...
3 years, 9 months ago (2017-03-23 22:37:01 UTC) #6
Cutch
https://codereview.chromium.org/2768103002/diff/40001/runtime/lib/stacktrace.cc File runtime/lib/stacktrace.cc (right): https://codereview.chromium.org/2768103002/diff/40001/runtime/lib/stacktrace.cc#newcode134 runtime/lib/stacktrace.cc:134: } On 2017/03/23 22:37:01, siva wrote: > Why did ...
3 years, 9 months ago (2017-03-24 14:55:39 UTC) #7
Cutch
3 years, 9 months ago (2017-03-24 14:56:58 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
07a257573d1a2323ba6cb7a4fec629a167765e0c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698