• Alexey Kozyatinskiy's avatar
    [inspector] added new way to step into async task · 079c0fd8
    Alexey Kozyatinskiy authored
    It is preparation step for step-into-worker. There are few changes:
    - added breakOnAsyncCall flag for Debugger.stepInto. When flag is set
      and async task is scheduled before step-into finished, we pause
      execution with additional Debugger.paused event. This event contains
      additional scheduledAsyncTaskId field.
    - added Debugger.pauseOnAsyncTask. This method will pause execution as
      soon as given async task is started.
    
    This mechanism is replacement for Debugger.scheduleStepIntoAsync which
    can not be used between multiple targets.
    
    As result we can split async task scheduling in one target and
    requesting break for this async task running in another target.
    
    R=pfeldman@chromium.org
    
    Bug: chromium:778796
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I77be0c880d91253d333c54a23a4c084e7b8549e9
    Reviewed-on: https://chromium-review.googlesource.com/750071Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarPavel Feldman <pfeldman@chromium.org>
    Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49127}
    079c0fd8
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...