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

Issue 8735: Changed the call to attach the debugger to V8 to run in the renderer thread. ... (Closed)

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

Description

Changed the call to attach the debugger to V8 to run in the renderer thread. With V8 r648 (Review URL: http://codereview.chromium.org/8909) attaching the debugger to V8 will initialize V8 if not already initialized. This needs to be serialized with the initialization of V8 in the renderer thread. This change does not require the changes in V8 r648, but will not have any effect without. Added a few comments. BUG=3723 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4875

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M chrome/renderer/debug_message_handler.h View 1 chunk +4 lines, -1 line 2 comments Download
M chrome/renderer/debug_message_handler.cc View 3 chunks +17 lines, -1 line 3 comments Download

Messages

Total messages: 2 (0 generated)
Søren Thygesen Gjesse
12 years, 1 month ago (2008-10-30 11:28:34 UTC) #1
Erik does not do reviews
12 years, 1 month ago (2008-11-05 17:00:13 UTC) #2
LGTM - thanks for tracking this down.

Just some typos and other comment nits.

http://codereview.chromium.org/8735/diff/1/2
File chrome/renderer/debug_message_handler.cc (right):

http://codereview.chromium.org/8735/diff/1/2#newcode43
Line 43: // Set the debug break flag in the V8 enging.
typo -> engine

http://codereview.chromium.org/8735/diff/1/2#newcode46
Line 46: // If a forced break has been requested make sure that it will occour
by
typo: "occur"

http://codereview.chromium.org/8735/diff/1/2#newcode61
Line 61: // most run in the V8 thread.
most -> must

http://codereview.chromium.org/8735/diff/1/3
File chrome/renderer/debug_message_handler.h (right):

http://codereview.chromium.org/8735/diff/1/3#newcode24
Line 24: // Evaluate javascript URL in the renderer
add a period while you're at it

http://codereview.chromium.org/8735/diff/1/3#newcode27
Line 27: // Attach in the renderer
same here.  Also, rephrase to include the thread issue.

Powered by Google App Engine
This is Rietveld 408576698