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

Issue 65006: Include in 'backtrace' response scripts whose functions are on the stack (Closed)

Created:
11 years, 8 months ago by yurys
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

To resolve functions from the call stack we need at least ids for the scripts of those functions. The information on the scripts is now included into the response. Committed: http://code.google.com/p/v8/source/detail?r=1708

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M src/mirror-delay.js View 1 2 3 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
yurys
11 years, 8 months ago (2009-04-09 14:21:11 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/65006/diff/1/2 File src/mirror-delay.js (right): http://codereview.chromium.org/65006/diff/1/2#newcode1718 Line 1718: // Add the handle for value mirrors. ...
11 years, 8 months ago (2009-04-15 00:13:07 UTC) #2
yurys
11 years, 8 months ago (2009-04-15 01:21:23 UTC) #3
http://codereview.chromium.org/65006/diff/1/2
File src/mirror-delay.js (right):

http://codereview.chromium.org/65006/diff/1/2#newcode1718
Line 1718: // Add the handle for value mirrors.
On 2009/04/15 00:13:07, Søren Gjesse wrote:
> Change comment to "Add mirror handle" (script mirror is not a value mirror).

Done.

http://codereview.chromium.org/65006/diff/1/2#newcode1778
Line 1778: if (mirror.id()) {
On 2009/04/15 00:13:07, Søren Gjesse wrote:
> This if should not be needed as all scripts have id.

Done.

http://codereview.chromium.org/65006/diff/1/2#newcode1916
Line 1916: if (func.script()) {
On 2009/04/15 00:13:07, Søren Gjesse wrote:
> Please just add the script directly to the frame serialization to keep the the
> refs to be decendents of the serailized objects.
> 
> if (func.script()) {
>   content.push(MakeJSONPair_('script',
> this.serializeReference(mirror.func().script())));
> }
> 
> If we add the source to the script serialization this might be to expensive...

Done.

Powered by Google App Engine
This is Rietveld 408576698