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

Issue 8909: Added some missing initialization checks to the debugger API.... (Closed)

Created:
12 years, 1 month ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Added some missing initialization checks to the debugger API. BUG=3723 (Chromium) Committed: http://code.google.com/p/v8/source/detail?r=648

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -6 lines) Patch
M src/api.cc View 5 chunks +9 lines, -6 lines 2 comments Download
M test/cctest/test-debug.cc View 1 chunk +34 lines, -0 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Søren Thygesen Gjesse
12 years, 1 month ago (2008-10-30 10:06:52 UTC) #1
Kasper Lund
LGTM. Two comments: http://codereview.chromium.org/8909/diff/1/2 File src/api.cc (right): http://codereview.chromium.org/8909/diff/1/2#newcode2890 Line 2890: if (!i::V8::HasBeenSetup()) return; Does the ...
12 years, 1 month ago (2008-10-30 10:09:34 UTC) #2
Søren Thygesen Gjesse
http://codereview.chromium.org/8909/diff/1/2 File src/api.cc (right): http://codereview.chromium.org/8909/diff/1/2#newcode2890 Line 2890: if (!i::V8::HasBeenSetup()) return; On 2008/10/30 10:09:34, Kasper Lund ...
12 years, 1 month ago (2008-10-30 10:27:02 UTC) #3
Erik does not do reviews
12 years, 1 month ago (2008-10-30 16:37:52 UTC) #4
LGTM

From your reply to Kasper, it seems like it's unexpected for the debugger to be
uninitialized in some of these cases.  If that's the case, should these be
DCHECKs instead of early returns?

Powered by Google App Engine
This is Rietveld 408576698