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

Issue 2690683002: Improvements to causal async stack traces (Closed)

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

Description

Improvements to causal async stack traces UX improvements: - [x] Stop printing the suffix <%s_async_body> and <%s_async_gen_body> for the generated closures. Fixes #28743 - [x] Don't include the duplicate frame below the asynchronous suspension marker. Fixes #28742 Bug fixes: - [x] Fix service protocol enum naming so that it is consistent with other enums. Fixes #28726 Misc: - [x] Stop using package:stack_trace now that the VM does it for us. BUG= R=asiva@google.com, devoncarew@google.com, rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/8538d81473d81e46d0bc8ea82607581ebff65390

Patch Set 1 #

Total comments: 4

Patch Set 2 : rmacnak review #

Total comments: 2

Patch Set 3 : asiva review and rmacnak added on test cases #

Patch Set 4 : asiva review and rmacnak added on test cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -37 lines) Patch
M runtime/observatory/lib/src/service/object.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/causal_async_stack_contents_test.dart View 2 chunks +4 lines, -5 lines 0 comments Download
M runtime/observatory/tests/service/causal_async_star_stack_contents_test.dart View 3 chunks +10 lines, -14 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 3 chunks +4 lines, -5 lines 0 comments Download
M runtime/vm/debugger.h View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/debugger.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 chunks +25 lines, -2 lines 0 comments Download
M tests/language/language.status View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A tests/language/vm/causal_async_exception_stack2_test.dart View 1 2 3 1 chunk +98 lines, -0 lines 0 comments Download
M tests/language/vm/causal_async_exception_stack_test.dart View 1 2 2 chunks +39 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Cutch
3 years, 10 months ago (2017-02-10 21:10:43 UTC) #3
devoncarew
awesome! (lgtm for the enum name changes)
3 years, 10 months ago (2017-02-10 21:15:13 UTC) #4
rmacnak
lgtm w/ qualified name test https://codereview.chromium.org/2690683002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2690683002/diff/1/runtime/vm/object.cc#newcode7070 runtime/vm/object.cc:7070: if (!fun.IsAsyncGenerator() && !fun.IsAsyncFunction()) ...
3 years, 10 months ago (2017-02-10 21:27:14 UTC) #5
Cutch
https://codereview.chromium.org/2690683002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2690683002/diff/1/runtime/vm/object.cc#newcode7070 runtime/vm/object.cc:7070: if (!fun.IsAsyncGenerator() && !fun.IsAsyncFunction()) { On 2017/02/10 21:27:14, rmacnak ...
3 years, 10 months ago (2017-02-11 00:02:40 UTC) #6
siva
lgtm https://codereview.chromium.org/2690683002/diff/20001/tests/language/vm/causal_async_exception_stack_test.dart File tests/language/vm/causal_async_exception_stack_test.dart (right): https://codereview.chromium.org/2690683002/diff/20001/tests/language/vm/causal_async_exception_stack_test.dart#newcode38 tests/language/vm/causal_async_exception_stack_test.dart:38: ])); might be interesting to add try { ...
3 years, 10 months ago (2017-02-11 00:24:33 UTC) #7
rmacnak
Per discussion with Siva, some interesting test cases. Not directly related to this CL and ...
3 years, 10 months ago (2017-02-11 00:29:38 UTC) #8
Cutch
Test cases added. PTAL. https://codereview.chromium.org/2690683002/diff/20001/tests/language/vm/causal_async_exception_stack_test.dart File tests/language/vm/causal_async_exception_stack_test.dart (right): https://codereview.chromium.org/2690683002/diff/20001/tests/language/vm/causal_async_exception_stack_test.dart#newcode38 tests/language/vm/causal_async_exception_stack_test.dart:38: ])); On 2017/02/11 00:24:33, siva ...
3 years, 10 months ago (2017-02-11 01:14:28 UTC) #9
rmacnak
still LGTM
3 years, 10 months ago (2017-02-11 01:22:29 UTC) #10
siva
still LGTM
3 years, 10 months ago (2017-02-11 01:24:33 UTC) #11
Cutch
3 years, 10 months ago (2017-02-14 08:57:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
8538d81473d81e46d0bc8ea82607581ebff65390 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698