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

Issue 781623004: [V8] Report v8::AfterCompile and v8::CompileError to listener on pause (Closed)

Created:
6 years ago by kozy
Modified:
6 years ago
Reviewers:
yurys, Yang
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

[V8] Report v8::AfterCompile and v8::CompileError to listener on pause V8 didn't report compile events on pause before this patch. These events can be important for listener. For example, DevTools allows user to execute some JS code on pause and needs to show correct stack trace in message from it. BUG=396013 R=yurys@chromium.org

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -6 lines) Patch
M src/debug.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/debug.cc View 1 3 chunks +33 lines, -4 lines 0 comments Download
M test/mjsunit/debug-clearbreakpointgroup.js View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M test/mjsunit/debug-compile-event.js View 1 2 3 chunks +14 lines, -2 lines 0 comments Download
M test/mjsunit/debug-evaluate-with-context.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
kozy
Yury, please take a look!
6 years ago (2014-12-07 15:42:48 UTC) #1
yurys
https://codereview.chromium.org/781623004/diff/1/src/debug.cc File src/debug.cc (right): https://codereview.chromium.org/781623004/diff/1/src/debug.cc#newcode2485 src/debug.cc:2485: Handle<GlobalObject> global = in_debug_scope() ? Handle<GlobalObject>(debug_context()->global_object()) : Handle<GlobalObject>(isolate_->global_object()); This ...
6 years ago (2014-12-08 07:19:28 UTC) #2
yurys
https://codereview.chromium.org/781623004/diff/1/src/debug.cc File src/debug.cc (right): https://codereview.chromium.org/781623004/diff/1/src/debug.cc#newcode2860 src/debug.cc:2860: if (event_listener_.is_null()) return; I believe you can reenter debug ...
6 years ago (2014-12-08 10:55:51 UTC) #3
kozy
Added pushing debug context to top of stack by entering debug scope and suppressing debug ...
6 years ago (2014-12-08 14:19:30 UTC) #5
yurys
lgtm https://codereview.chromium.org/781623004/diff/40001/src/debug.cc File src/debug.cc (right): https://codereview.chromium.org/781623004/diff/40001/src/debug.cc#newcode2864 src/debug.cc:2864: DebugScope debug_scope(this); You might want to skip this ...
6 years ago (2014-12-08 14:31:22 UTC) #6
kozy
https://codereview.chromium.org/781623004/diff/40001/src/debug.cc File src/debug.cc (right): https://codereview.chromium.org/781623004/diff/40001/src/debug.cc#newcode2864 src/debug.cc:2864: DebugScope debug_scope(this); On 2014/12/08 14:31:22, yurys wrote: > You ...
6 years ago (2014-12-08 14:53:01 UTC) #7
kozy
Yang, please take a look.
6 years ago (2014-12-08 14:53:23 UTC) #9
Yang
On 2014/12/08 14:53:23, kozyatinskiy_chromium wrote: > Yang, please take a look. lgtm. Btw. you can ...
6 years ago (2014-12-10 20:50:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/781623004/60001
6 years ago (2014-12-11 10:34:31 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-11 10:58:54 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:60001)

Powered by Google App Engine
This is Rietveld 408576698