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

Issue 9121060: Fix listing of source scripts in debugger (Closed)

Created:
8 years, 11 months ago by hausner
Modified:
8 years, 11 months ago
Reviewers:
siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix listing of source scripts in debugger The cache of loaded scripts must be initialized to null when loading from a snapshot. Fix for issue 1345. Committed: https://code.google.com/p/dart/source/detail?r=3673

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M runtime/vm/raw_object_snapshot.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hausner
Fix for library initialization as discussed earlier.
8 years, 11 months ago (2012-01-27 22:40:19 UTC) #1
siva
lgtm http://codereview.chromium.org/9121060/diff/1/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): http://codereview.chromium.org/9121060/diff/1/runtime/vm/raw_object_snapshot.cc#newcode747 runtime/vm/raw_object_snapshot.cc:747: writer->Write<int8_t>(ptr()->load_state_); Maybe also add a comment here too ...
8 years, 11 months ago (2012-01-27 22:50:53 UTC) #2
hausner
8 years, 11 months ago (2012-01-27 23:01:04 UTC) #3
Thank you.

http://codereview.chromium.org/9121060/diff/1/runtime/vm/raw_object_snapshot.cc
File runtime/vm/raw_object_snapshot.cc (right):

http://codereview.chromium.org/9121060/diff/1/runtime/vm/raw_object_snapshot....
runtime/vm/raw_object_snapshot.cc:747:
writer->Write<int8_t>(ptr()->load_state_);
On 2012/01/27 22:50:53, asiva wrote:
> Maybe also add a comment here too that we do not serialize the cache of loaded
> scripts.

Done.

Powered by Google App Engine
This is Rietveld 408576698