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

Issue 11421100: Issue 2429, core implementation and the protocol change (Closed)

Created:
8 years ago by Peter Rybin
Modified:
8 years ago
CC:
v8-dev
Visibility:
Public.

Description

Issue 2429, core implementation and the protocol change Committed: http://code.google.com/p/v8/source/detail?r=13123

Patch Set 1 #

Patch Set 2 : clean #

Total comments: 11

Patch Set 3 : follow code review #

Patch Set 4 : style + test #

Total comments: 2

Patch Set 5 : follow codereview #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -13 lines) Patch
M src/debug-debugger.js View 1 2 3 4 3 chunks +18 lines, -3 lines 0 comments Download
M src/isolate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M src/liveedit.cc View 1 2 3 2 chunks +50 lines, -2 lines 3 comments Download
M src/liveedit-debugger.js View 1 2 3 2 chunks +36 lines, -1 line 0 comments Download
A + test/mjsunit/debug-liveedit-compile-error.js View 1 2 3 4 3 chunks +19 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Peter Rybin
Hi Yang I'm adding an optional "error_details" field to the protocol. LiveEdit compiler failure uses ...
8 years ago (2012-11-27 17:58:06 UTC) #1
Yang
I think we can solve the problem with trying to get line numbers more elegantly, ...
8 years ago (2012-11-28 15:51:28 UTC) #2
Peter Rybin
I must be missing something, because I couldn't reproduce your technique. I tried: var stack_text; ...
8 years ago (2012-11-28 20:12:30 UTC) #3
Yang
LGTM, but I got some suggestions. And a test case would be very nice. https://codereview.chromium.org/11421100/diff/2001/src/liveedit-debugger.js ...
8 years ago (2012-11-29 16:38:57 UTC) #4
Peter Rybin
I learned this time that ReportPendingMessages does too many additional things are rewrote it a ...
8 years ago (2012-11-29 23:16:05 UTC) #5
Yang
LGTM with one nit. https://codereview.chromium.org/11421100/diff/9/test/mjsunit/debug-liveedit-compile-error.js File test/mjsunit/debug-liveedit-compile-error.js (right): https://codereview.chromium.org/11421100/diff/9/test/mjsunit/debug-liveedit-compile-error.js#newcode48 test/mjsunit/debug-liveedit-compile-error.js:48: Debug.LiveEdit.TestApi.ApplySingleChunkPatch(script, patch_pos, orig_animal.length, new_animal_patch, change_log); ...
8 years ago (2012-12-03 17:26:17 UTC) #6
Peter Rybin
https://codereview.chromium.org/11421100/diff/9/test/mjsunit/debug-liveedit-compile-error.js File test/mjsunit/debug-liveedit-compile-error.js (right): https://codereview.chromium.org/11421100/diff/9/test/mjsunit/debug-liveedit-compile-error.js#newcode48 test/mjsunit/debug-liveedit-compile-error.js:48: Debug.LiveEdit.TestApi.ApplySingleChunkPatch(script, patch_pos, orig_animal.length, new_animal_patch, change_log); On 2012/12/03 17:26:17, Yang ...
8 years ago (2012-12-03 20:34:38 UTC) #7
Michael Starzinger
This change is not GC safe. https://codereview.chromium.org/11421100/diff/3002/src/liveedit.cc File src/liveedit.cc (right): https://codereview.chromium.org/11421100/diff/3002/src/liveedit.cc#newcode955 src/liveedit.cc:955: factory->LookupAsciiSymbol("startPosition"), This pattern ...
8 years ago (2012-12-04 09:51:05 UTC) #8
Yang
8 years ago (2012-12-04 10:04:46 UTC) #9
Message was sent while issue was closed.
On 2012/12/04 09:51:05, Michael Starzinger wrote:
> This change is not GC safe.
> 
> https://codereview.chromium.org/11421100/diff/3002/src/liveedit.cc
> File src/liveedit.cc (right):
> 
> https://codereview.chromium.org/11421100/diff/3002/src/liveedit.cc#newcode955
> src/liveedit.cc:955: factory->LookupAsciiSymbol("startPosition"),
> This pattern is not GC safe. Other handles might have been dereferenced before
> the call to LookupAsciiSymbol, which in turn can cause a GC. The factory call
> needs to be done separately before a sequence point.
> 
> https://codereview.chromium.org/11421100/diff/3002/src/liveedit.cc#newcode959
> src/liveedit.cc:959: factory->LookupAsciiSymbol("endPosition"),
> Likewise.
> 
> https://codereview.chromium.org/11421100/diff/3002/src/liveedit.cc#newcode963
> src/liveedit.cc:963: factory->LookupAsciiSymbol("scriptObject"),
> Likewise.

I'll fix this.

Powered by Google App Engine
This is Rietveld 408576698