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

Issue 292663012: Retaining path in Observatory. (Closed)

Created:
6 years, 7 months ago by koda
Modified:
6 years, 7 months ago
Reviewers:
turnidge, Cutch
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Visibility:
Public.

Description

Retaining path in Observatory. Add retaining_path instance command to VM service, exposed in the Observatory with a [find] eval-link in instance view. By default shows up to 10 elements, possibly followed by [find more] which doubles the number of elements shown. Change RetainingPath to include the object itself. Always include an id in Object::PrintJSONImpl, to avoid instance-ref crashing on internal objects. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=36516

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -47 lines) Patch
M runtime/bin/vmservice/client/deployed/web/index.html View 1 2 3 4 chunks +32 lines, -6 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html View 1 2 3 4 chunks +32 lines, -6 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/eval_link.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_view.html View 1 2 3 1 chunk +33 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/eval_link.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/eval_link.html View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/instance_view.dart View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/instance_view.html View 1 2 3 1 chunk +33 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 chunk +1 line, -4 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/object_graph.h View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/object_graph.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M runtime/vm/object_graph_test.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M runtime/vm/service.cc View 1 2 3 6 chunks +33 lines, -9 lines 0 comments Download
M runtime/vm/service_test.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
koda
6 years, 7 months ago (2014-05-21 22:35:20 UTC) #1
Cutch
lgtm after adding service tests. https://codereview.chromium.org/292663012/diff/40001/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/292663012/diff/40001/runtime/vm/service.cc#newcode933 runtime/vm/service.cc:933: intptr_t limit; Add a ...
6 years, 7 months ago (2014-05-22 03:10:12 UTC) #2
koda
Also had to avoid the toString() call inside {{}} to make JS version work. https://codereview.chromium.org/292663012/diff/40001/runtime/vm/service.cc ...
6 years, 7 months ago (2014-05-22 17:27:47 UTC) #3
koda
6 years, 7 months ago (2014-05-22 17:31:58 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r36516 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698