Chromium Code Reviews
Description[kernel] set dartAsyncMarker to Sync for continuations
After 89b68e905b6a096148cedc580016a595e106dcdd debugging of async
functions via kernel haven't worked.
Prior to this the dartAsyncMarker for e.g. a rewritte async function
would have been Sync, after it was Yielding.
This changes it back in the continuations rewriting cases.
An alternative fix would be to change
function.set_is_debuggable(
kernel_procedure->function()->dart_async_marker() == FunctionNode::kSync);
to something like
function.set_is_debuggable(
kernel_procedure->function()->dart_async_marker() == FunctionNode::kSync ||
kernel_procedure->function()->dart_async_marker() == FunctionNode::kYielding);
in the C++ code.
BUG=
R=kmillikin@google.com
Committed: https://github.com/dart-lang/sdk/commit/4c38b85cb59fd12f07a07bc96b50d86bba38108d
Patch Set 1 #
Total comments: 1
Patch Set 2 : Added comment #Messages
Total messages: 5 (2 generated)
|