v8/src/inspector
Clemens Hammacher 4379533ca4 Revert "[inspector] introduced stackTraceId and externalAsyncTask API"
This reverts commit 3a41b697cd.

Reason for revert: Break msvc: https://build.chromium.org/p/client.v8/builders/V8%20Win64%20-%20msvc/builds/250

Original change's description:
> [inspector] introduced stackTraceId and externalAsyncTask API
> 
> Sometimes we need to capture stack trace on one debugger and use it
> later as a parent stack on another debugger (e.g. worker.postMessage).
> 
> This CL includes following addition to our protocol and v8-inspector.h:
>   - added Runtime.StackTraceId, this id represents stack trace captured
>     on debugger with given id,
>   - protocol client can fetch Runtime.StackTrace by
>     Runtime.StacKTraceId using Debugger.getStackTrace method,
>   - externalParent field is added to Debugger.paused event, it may
>     contain external parent stack trace,
>   - V8Inspector::storeCurrentStackTrace captures current stack trace
>     and returns V8StackTraceId for embedder this id can be used as
>     argument for V8Inspector::externalAsyncTaskStarted and
>     V8Inspector::externalAsyncTaskFinished method. Any async stack
>     trace captured between these calls will get passed external stack
>     trace as external parent. These methods are designed to be called
>     on different debuggers. If async task is scheduled and started on
>     one debugger user should continue to use asyncTask* API,
>   - Debugger.enable methods returns unique debuggerId.
> 
> Bug: chromium:778796
> Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
> Change-Id: I16aba0d04bfcea90f3e187e635a0588c92354539
> Reviewed-on: https://chromium-review.googlesource.com/754183
> Reviewed-by: Jakob Gruber <jgruber@chromium.org>
> Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#49582}

TBR=dgozman@chromium.org,pfeldman@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,jgruber@chromium.org

Change-Id: I9b52354fa0841e5148596cf594317f2e5fe508ea
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:778796
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
Reviewed-on: https://chromium-review.googlesource.com/786152
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49584}
2017-11-22 17:39:00 +00:00
..
build [inspector] move breakpoint management to native 2017-08-02 19:20:26 +00:00
BUILD.gn [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
DEPS [coverage] Expose block coverage through inspector 2017-06-23 08:01:07 +00:00
injected_script_externs.js [inspector] do not call native accessor in Rumtime.getProperties 2017-11-06 17:45:46 +00:00
injected-script-source.js [inspector] do not call native accessor in Rumtime.getProperties 2017-11-06 17:45:46 +00:00
injected-script.cc [inspector] do not call native accessor in Rumtime.getProperties 2017-11-06 17:45:46 +00:00
injected-script.h [inspector] removed unused injected-script methods 2017-10-25 06:14:06 +00:00
inspected-context.cc [inspector] move breakpoint management to native 2017-08-02 19:20:26 +00:00
inspected-context.h [inspector] support for cases when embedder doesn't call contextDestroyed 2017-08-01 23:06:20 +00:00
inspector_protocol_config.json Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
inspector.gyp [inspector] move breakpoint management to native 2017-08-02 19:20:26 +00:00
inspector.gypi Fix path to v8 include files 2017-11-04 00:25:59 +00:00
js_protocol-1.2.json [inspector] Initial import of v8_inspector. 2016-09-01 20:28:33 +00:00
js_protocol.json Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
OWNERS Fix common misspellings 2017-08-02 09:35:28 +00:00
PRESUBMIT.py [inspector] move breakpoint management to native 2017-08-02 19:20:26 +00:00
remote-object-id.cc Roll third_party/inspector_protocol to 73028acaa3646789fd2a3bfd0d79eb2d91b696b3 2016-11-22 18:57:37 +00:00
remote-object-id.h [inspector] migrate Runtime to new style 2016-11-03 23:52:17 +00:00
search-util.cc [cleanup] Fix (D)CHECK macros in src/{debug,inspector} 2017-09-25 12:20:59 +00:00
search-util.h [inspector] change implementation file extension from cpp to cc 2016-09-21 23:55:15 +00:00
string-16.cc [inspector] added new way to step into async task 2017-11-06 06:40:14 +00:00
string-16.h [inspector] added new way to step into async task 2017-11-06 06:40:14 +00:00
string-util.cc Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
string-util.h Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
test-interface.cc [inspector] removed kDebugPromiseCollected event 2017-04-20 15:49:02 +00:00
test-interface.h [inspector] removed kDebugPromiseCollected event 2017-04-20 15:49:02 +00:00
v8-console-agent-impl.cc [cleanup] Fix (D)CHECK macros in src/{debug,inspector} 2017-09-25 12:20:59 +00:00
v8-console-agent-impl.h [inspector] migrate Schema, Console, Profiler to new style 2016-11-02 00:21:54 +00:00
v8-console-message.cc [cleanup] Fix (D)CHECK macros in src/{debug,inspector} 2017-09-25 12:20:59 +00:00
v8-console-message.h [inspector] introduced console.context 2017-06-12 15:49:13 +00:00
v8-console.cc [inspector] fixed CommandLineAPIData leak 2017-11-15 17:17:25 +00:00
v8-console.h [inspector] fixed CommandLineAPIData leak 2017-11-15 17:17:25 +00:00
v8-debugger-agent-impl.cc Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-debugger-agent-impl.h Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-debugger-script.cc [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
v8-debugger-script.h [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
v8-debugger.cc Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-debugger.h Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-function-call.cc Replace PREPARE_FOR_EXECUTION_WITH_CONTEXT_IN_RUNTIME_CALL_STATS_SCOPE 2017-05-30 17:37:41 +00:00
v8-function-call.h [inspector] change implementation file extension from cpp to cc 2016-09-21 23:55:15 +00:00
v8-heap-profiler-agent-impl.cc [heap-profiler] Allow intermediate sampling heap profile retrieval during recording. 2017-11-06 22:22:55 +00:00
v8-heap-profiler-agent-impl.h [heap-profiler] Allow intermediate sampling heap profile retrieval during recording. 2017-11-06 22:22:55 +00:00
v8-injected-script-host.cc [inspector] do not call native accessor in Rumtime.getProperties 2017-11-06 17:45:46 +00:00
v8-injected-script-host.h [inspector] do not call native accessor in Rumtime.getProperties 2017-11-06 17:45:46 +00:00
v8-inspector-impl.cc Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-inspector-impl.h Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-inspector-session-impl.cc [inspector] don't discard injected-script on runtime.disable 2017-08-10 04:33:14 +00:00
v8-inspector-session-impl.h [inspector] Prepare some methods in V8InspectorImpl to multiple sessions 2017-05-31 00:07:55 +00:00
v8-internal-value-type.cc [cleanup] Remove return after UNREACHABLE 2017-05-22 13:10:01 +00:00
v8-internal-value-type.h [inspector] change implementation file extension from cpp to cc 2016-09-21 23:55:15 +00:00
v8-profiler-agent-impl.cc [debug] remove --block-coverage. 2017-09-29 14:27:52 +00:00
v8-profiler-agent-impl.h [type-profile] Incorporate into inspector protocol. 2017-09-08 09:46:12 +00:00
v8-regex.cc [inspector] Add some context scopes to inspector code 2017-04-27 08:48:39 +00:00
v8-regex.h [inspector] enabled presubmit for inspector sub folder 2016-09-26 13:59:38 +00:00
v8-runtime-agent-impl.cc [inspector] added Runtime.globalLexicalScopeNames method 2017-10-17 01:02:37 +00:00
v8-runtime-agent-impl.h [inspector] added Runtime.globalLexicalScopeNames method 2017-10-17 01:02:37 +00:00
v8-schema-agent-impl.cc [inspector] migrate Schema, Console, Profiler to new style 2016-11-02 00:21:54 +00:00
v8-schema-agent-impl.h [inspector] migrate Schema, Console, Profiler to new style 2016-11-02 00:21:54 +00:00
v8-stack-trace-impl.cc Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-stack-trace-impl.h Revert "[inspector] introduced stackTraceId and externalAsyncTask API" 2017-11-22 17:39:00 +00:00
v8-value-utils.cc Refactor !foo.IsJust to foo.IsNothing() 2017-10-23 23:25:28 +00:00
v8-value-utils.h [inspector] move breakpoint management to native 2017-08-02 19:20:26 +00:00
wasm-translation.cc [inspector] split DebuggerAgent::breakpointsCookie 2017-10-06 22:01:16 +00:00
wasm-translation.h [inspector] Introduce debug::WasmScript 2016-12-06 13:20:36 +00:00