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

Issue 2488733003: [inspector] Add exception caught/uncaught status to protocol (Closed)

Created:
4 years, 1 month ago by jgruber
Modified:
4 years, 1 month ago
Reviewers:
kozy
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org, dgozman, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] Add exception caught/uncaught status to protocol This adds information about an exception's caught/uncaught status to the Runtime.paused event in the data parameter: { "method": "Debugger.paused", "params": { "callFrames": [ [...] ], "data": { "description": "666", "type": "number", "uncaught": true, <--- "value": 666 }, "hitBreakpoints": [], "reason": "exception" } } BUG=v8:5530 Committed: https://crrev.com/fab116be0e4e456a6e023488db271ce3ddf1d615 Cr-Commit-Position: refs/heads/master@{#40875}

Patch Set 1 #

Patch Set 2 : Use Maybe version of BooleanValue #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -7 lines) Patch
M src/inspector/v8-debugger.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/inspector/v8-debugger.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 2 chunks +8 lines, -2 lines 2 comments Download
A test/inspector/debugger/caught-uncaught-exceptions.js View 1 chunk +25 lines, -0 lines 0 comments Download
A test/inspector/debugger/caught-uncaught-exceptions-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (11 generated)
jgruber
My first go at this, PTAL.
4 years, 1 month ago (2016-11-09 11:41:41 UTC) #6
Yang
On 2016/11/09 11:41:41, jgruber wrote: > My first go at this, PTAL. I'm a bit ...
4 years, 1 month ago (2016-11-09 11:45:07 UTC) #7
jgruber
On 2016/11/09 11:45:07, Yang wrote: > On 2016/11/09 11:41:41, jgruber wrote: > > My first ...
4 years, 1 month ago (2016-11-09 11:48:08 UTC) #8
dgozman
On 2016/11/09 11:48:08, jgruber wrote: > On 2016/11/09 11:45:07, Yang wrote: > > On 2016/11/09 ...
4 years, 1 month ago (2016-11-09 16:22:21 UTC) #13
dgozman
https://codereview.chromium.org/2488733003/diff/20001/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2488733003/diff/20001/src/inspector/v8-debugger-agent-impl.cc#newcode1126 src/inspector/v8-debugger-agent-impl.cc:1126: m_breakAuxData->setBoolean("uncaught", isUncaught); To be very clean, we'd better pass ...
4 years, 1 month ago (2016-11-09 16:27:48 UTC) #14
kozy
lgtm
4 years, 1 month ago (2016-11-09 17:38:13 UTC) #15
jgruber
https://codereview.chromium.org/2488733003/diff/20001/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2488733003/diff/20001/src/inspector/v8-debugger-agent-impl.cc#newcode1126 src/inspector/v8-debugger-agent-impl.cc:1126: m_breakAuxData->setBoolean("uncaught", isUncaught); On 2016/11/09 16:27:48, dgozman wrote: > To ...
4 years, 1 month ago (2016-11-10 07:55:52 UTC) #16
jgruber
4 years, 1 month ago (2016-11-10 07:56:18 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/2488733003/20001
4 years, 1 month ago (2016-11-10 07:56:35 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-10 07:58:37 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:28:14 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fab116be0e4e456a6e023488db271ce3ddf1d615
Cr-Commit-Position: refs/heads/master@{#40875}

Powered by Google App Engine
This is Rietveld 408576698