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

Issue 1033483002: Separate is_debuggable and is_visible again. The outer async functions (Closed)

Created:
5 years, 9 months ago by rmacnak
Modified:
5 years, 9 months ago
Reviewers:
hausner
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Separate is_debuggable and is_visible again. The outer async functions (that produce the Futures or Streams) should be visible but not debuggable. Visible so their frames are included in stacktraces for return type errors during checked mode. Not debuggable so breakpoints are resolved to the function that implements the async body. BUG=http://dartbug.com/22891 R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=44646

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -7 lines) Patch
A runtime/observatory/test/async_generator_breakpoint_test.dart View 1 chunk +89 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/megamorphic_cache_table.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 5 chunks +5 lines, -2 lines 0 comments Download
M runtime/vm/resolver.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
A tests/language/async_or_generator_return_type_stacktrace_test.dart View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M tests/language/language_analyzer.status View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
rmacnak
5 years, 9 months ago (2015-03-23 19:32:09 UTC) #2
hausner
LGTM with a couple of comments. https://codereview.chromium.org/1033483002/diff/20001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/1033483002/diff/20001/runtime/vm/object.h#newcode2265 runtime/vm/object.h:2265: V(Visible, is_visible) \ ...
5 years, 9 months ago (2015-03-23 19:38:25 UTC) #3
rmacnak
https://codereview.chromium.org/1033483002/diff/20001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/1033483002/diff/20001/runtime/vm/object.h#newcode2265 runtime/vm/object.h:2265: V(Visible, is_visible) \ On 2015/03/23 19:38:25, hausner wrote: > ...
5 years, 9 months ago (2015-03-23 20:25:35 UTC) #4
rmacnak
5 years, 9 months ago (2015-03-23 20:26:21 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 44646 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698