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

Issue 2755863002: [Devtools] Add stacktrace to protocol for scriptParsed event (Closed)

Created:
3 years, 9 months ago by allada
Modified:
3 years, 9 months ago
Reviewers:
kozy, dgozman, luoe
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Devtools] Add stacktrace to protocol for scriptParsed event Stacktrace data is now passed when scriptParsed event is triggered. R=kozyatinskiy@chromium.org,dgozman BUG=chromium:646849 Review-Url: https://codereview.chromium.org/2755863002 Cr-Commit-Position: refs/heads/master@{#43879} Committed: https://chromium.googlesource.com/v8/v8/+/3e1e90dec273a508785c109c6dce816a9aeb3372

Patch Set 1 : [Devtools] Add stacktrace to protocol for scriptParsed event #

Total comments: 8

Patch Set 2 : stack trace for fails and test for fail #

Total comments: 2

Patch Set 3 : better stack trace for fails and test for fail #

Total comments: 5

Patch Set 4 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -68 lines) Patch
M src/inspector/js_protocol.json View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 1 chunk +9 lines, -4 lines 0 comments Download
M test/inspector/debugger/script-on-after-compile.js View 1 2 3 1 chunk +1 line, -21 lines 0 comments Download
M test/inspector/debugger/script-on-after-compile-expected.txt View 1 2 3 39 chunks +50 lines, -39 lines 0 comments Download
M test/inspector/debugger/script-parsed-for-runtime-evaluate.js View 1 2 chunks +31 lines, -1 line 0 comments Download
M test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt View 1 2 chunks +154 lines, -1 line 0 comments Download

Messages

Total messages: 23 (11 generated)
allada
PTL
3 years, 9 months ago (2017-03-16 01:59:03 UTC) #1
kozy
https://codereview.chromium.org/2755863002/diff/20001/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2755863002/diff/20001/src/inspector/v8-debugger-agent-impl.cc#newcode1150 src/inspector/v8-debugger-agent-impl.cc:1150: isModuleParam, scriptRef->source().length(), std::move(stackTrace)); let's do the same for scriptFailedToParse.
3 years, 9 months ago (2017-03-16 18:35:13 UTC) #5
dgozman
https://codereview.chromium.org/2755863002/diff/20001/src/inspector/js_protocol.json File src/inspector/js_protocol.json (right): https://codereview.chromium.org/2755863002/diff/20001/src/inspector/js_protocol.json#newcode717 src/inspector/js_protocol.json:717: { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optional": true, "description": "JavaScript ...
3 years, 9 months ago (2017-03-16 18:39:04 UTC) #6
kozy
lgtm https://codereview.chromium.org/2755863002/diff/60001/src/inspector/js_protocol.json File src/inspector/js_protocol.json (right): https://codereview.chromium.org/2755863002/diff/60001/src/inspector/js_protocol.json#newcode717 src/inspector/js_protocol.json:717: { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optional": true, "description": ...
3 years, 9 months ago (2017-03-16 21:00:13 UTC) #8
allada
done. https://codereview.chromium.org/2755863002/diff/20001/src/inspector/js_protocol.json File src/inspector/js_protocol.json (right): https://codereview.chromium.org/2755863002/diff/20001/src/inspector/js_protocol.json#newcode717 src/inspector/js_protocol.json:717: { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optional": true, "description": ...
3 years, 9 months ago (2017-03-16 21:02:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2755863002/80001
3 years, 9 months ago (2017-03-16 21:02:28 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/36913)
3 years, 9 months ago (2017-03-16 21:05:31 UTC) #14
dgozman
lgtm with comments https://codereview.chromium.org/2755863002/diff/80001/src/inspector/js_protocol.json File src/inspector/js_protocol.json (right): https://codereview.chromium.org/2755863002/diff/80001/src/inspector/js_protocol.json#newcode717 src/inspector/js_protocol.json:717: { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optional": ...
3 years, 9 months ago (2017-03-16 21:09:21 UTC) #15
kozy
https://codereview.chromium.org/2755863002/diff/80001/test/inspector/debugger/script-on-after-compile-expected.txt File test/inspector/debugger/script-on-after-compile-expected.txt (right): https://codereview.chromium.org/2755863002/diff/80001/test/inspector/debugger/script-on-after-compile-expected.txt#newcode650 test/inspector/debugger/script-on-after-compile-expected.txt:650: scriptId : 61 On 2017/03/16 21:09:21, dgozman wrote: > ...
3 years, 9 months ago (2017-03-16 21:26:01 UTC) #16
allada
done. https://codereview.chromium.org/2755863002/diff/80001/test/inspector/debugger/script-on-after-compile-expected.txt File test/inspector/debugger/script-on-after-compile-expected.txt (right): https://codereview.chromium.org/2755863002/diff/80001/test/inspector/debugger/script-on-after-compile-expected.txt#newcode650 test/inspector/debugger/script-on-after-compile-expected.txt:650: scriptId : 61 On 2017/03/16 21:26:01, kozy wrote: ...
3 years, 9 months ago (2017-03-16 22:23:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2755863002/100001
3 years, 9 months ago (2017-03-16 22:24:15 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 23:34:19 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/3e1e90dec273a508785c109c6dce816a9ae...

Powered by Google App Engine
This is Rietveld 408576698