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

Issue 264333007: Add OnCompileError handler and v8::CompileError debug event (Closed)

Created:
6 years, 7 months ago by kozyatinskiy1
Modified:
6 years, 6 months ago
Reviewers:
vsevik, Yang, yurys
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Add OnCompileError handler and v8::CompileError debug event. This event is generated when the parser can not generate code. R=vsevik@chromium.org, yangguo@chromium.org, yurys@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22043

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -24 lines) Patch
M include/v8-debug.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/debug.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M src/debug.cc View 1 2 3 4 5 6 4 chunks +23 lines, -4 lines 0 comments Download
M src/debug-debugger.js View 1 2 3 4 5 3 chunks +14 lines, -14 lines 0 comments Download
M src/parser.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/test-debug.cc View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
M test/mjsunit/debug-compile-event.js View 1 2 3 4 5 6 7 4 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
kozyatinskiy1
6 years, 7 months ago (2014-05-16 09:51:27 UTC) #1
vsevik
https://chromiumcodereview.appspot.com/264333007/diff/20001/include/v8-debug.h File include/v8-debug.h (right): https://chromiumcodereview.appspot.com/264333007/diff/20001/include/v8-debug.h#newcode25 include/v8-debug.h:25: ScriptFailedToParse = 9 SyntaxError https://chromiumcodereview.appspot.com/264333007/diff/20001/src/debug.cc File src/debug.cc (right): https://chromiumcodereview.appspot.com/264333007/diff/20001/src/debug.cc#newcode2705 ...
6 years, 6 months ago (2014-06-06 16:12:01 UTC) #2
kozyatinskiy1
On 2014/06/06 16:12:01, vsevik wrote: > https://chromiumcodereview.appspot.com/264333007/diff/20001/include/v8-debug.h > File include/v8-debug.h (right): > > https://chromiumcodereview.appspot.com/264333007/diff/20001/include/v8-debug.h#newcode25 > ...
6 years, 6 months ago (2014-06-09 12:59:33 UTC) #3
kozyatinskiy1
Moved OnSyntaxError call to Parser. Removed AfterCompile flags.
6 years, 6 months ago (2014-06-10 17:07:17 UTC) #4
vsevik
Looks good to me.
6 years, 6 months ago (2014-06-10 17:28:05 UTC) #5
vsevik
Looks good to me. yurys@, yangguo@, Could you please take a look on that?
6 years, 6 months ago (2014-06-10 17:28:32 UTC) #6
vsevik
lgtm
6 years, 6 months ago (2014-06-11 11:47:16 UTC) #7
yurys
lgtm https://codereview.chromium.org/264333007/diff/150001/src/debug.h File src/debug.h (left): https://codereview.chromium.org/264333007/diff/150001/src/debug.h#oldcode368 src/debug.h:368: NO_AFTER_COMPILE_FLAGS, It might make sense to do this ...
6 years, 6 months ago (2014-06-11 11:52:14 UTC) #8
kozyatinskiy1
Yang, could you do OWNER review?
6 years, 6 months ago (2014-06-11 12:02:28 UTC) #9
Yang
https://codereview.chromium.org/264333007/diff/150001/src/debug.cc File src/debug.cc (left): https://codereview.chromium.org/264333007/diff/150001/src/debug.cc#oldcode2705 src/debug.cc:2705: if (was_in_scope && (after_compile_flags & SEND_WHEN_DEBUGGING) == 0) return; ...
6 years, 6 months ago (2014-06-11 14:33:37 UTC) #10
kozyatinskiy1
On 2014/06/11 14:33:37, Yang wrote: > https://codereview.chromium.org/264333007/diff/150001/src/debug.cc > File src/debug.cc (left): > > https://codereview.chromium.org/264333007/diff/150001/src/debug.cc#oldcode2705 > ...
6 years, 6 months ago (2014-06-11 15:07:22 UTC) #11
Yang
On 2014/06/11 15:07:22, kozyatinskiy wrote: > On 2014/06/11 14:33:37, Yang wrote: > > https://codereview.chromium.org/264333007/diff/150001/src/debug.cc > ...
6 years, 6 months ago (2014-06-11 15:14:44 UTC) #12
vsevik
> https://codereview.chromium.org/264333007/diff/150001/src/parser.cc#newcode3863 > > > src/parser.cc:3863: isolate()->Throw(*result, &location); > > > Won't Debug::OnException trigger as ...
6 years, 6 months ago (2014-06-20 08:36:17 UTC) #13
vsevik
Friendly ping
6 years, 6 months ago (2014-06-24 14:31:54 UTC) #14
Yang
Almost there! https://codereview.chromium.org/264333007/diff/150001/include/v8-debug.h File include/v8-debug.h (right): https://codereview.chromium.org/264333007/diff/150001/include/v8-debug.h#newcode24 include/v8-debug.h:24: CompileError = 8 We have the same ...
6 years, 6 months ago (2014-06-25 07:26:23 UTC) #15
kozyatinskiy1
On 2014/06/11 11:52:14, yurys wrote: > https://codereview.chromium.org/264333007/diff/150001/src/debug.h > File src/debug.h (left): > > https://codereview.chromium.org/264333007/diff/150001/src/debug.h#oldcode368 > ...
6 years, 6 months ago (2014-06-25 15:25:08 UTC) #16
Yang
LGTM with one last comment. https://codereview.chromium.org/264333007/diff/230001/test/mjsunit/debug-compile-event.js File test/mjsunit/debug-compile-event.js (right): https://codereview.chromium.org/264333007/diff/230001/test/mjsunit/debug-compile-event.js#newcode121 test/mjsunit/debug-compile-event.js:121: assertEquals(before_compile_count, after_compile_count + compile_error_count); ...
6 years, 6 months ago (2014-06-26 10:25:39 UTC) #17
kozyatinskiy1
On 2014/06/26 10:25:39, Yang wrote: > https://codereview.chromium.org/264333007/diff/230001/test/mjsunit/debug-compile-event.js > File test/mjsunit/debug-compile-event.js (right): > > https://codereview.chromium.org/264333007/diff/230001/test/mjsunit/debug-compile-event.js#newcode121 > ...
6 years, 6 months ago (2014-06-26 11:16:24 UTC) #18
Yang
On 2014/06/26 11:16:24, kozyatinskiy wrote: > On 2014/06/26 10:25:39, Yang wrote: > > > https://codereview.chromium.org/264333007/diff/230001/test/mjsunit/debug-compile-event.js ...
6 years, 6 months ago (2014-06-26 11:17:12 UTC) #19
yurys
6 years, 6 months ago (2014-06-26 16:04:02 UTC) #20
Message was sent while issue was closed.
Committed patchset #8 manually as r22043 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698