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

Issue 381383010: Add breakpoints and single-stepping to Observatory. (Closed)

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

Description

Add breakpoints and single-stepping to Observatory. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=38654

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : fix bugs, gen js #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6889 lines, -5263 lines) Patch
M runtime/bin/vmservice/client/deployed/web/index.html View 1 2 3 10 chunks +143 lines, -53 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js View 1 2 3 588 chunks +2772 lines, -2379 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html View 1 2 3 10 chunks +143 lines, -53 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html_bootstrap.dart.js View 1 2 3 588 chunks +2772 lines, -2379 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/action_link.html View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/isolate_summary.html View 1 2 3 3 chunks +17 lines, -17 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/isolate_view.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/nav_bar.html View 1 2 3 2 chunks +22 lines, -18 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/script_inset.html View 1 2 3 2 chunks +95 lines, -18 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/app/application.dart View 4 chunks +4 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/action_link.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/action_link.html View 2 chunks +11 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_summary.dart View 1 chunk +15 lines, -14 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_summary.html View 3 chunks +17 lines, -17 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_view.html View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/nav_bar.dart View 1 2 chunks +18 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/nav_bar.html View 1 2 3 2 chunks +22 lines, -18 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/script_inset.dart View 5 chunks +36 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/script_inset.html View 1 2 3 2 chunks +95 lines, -18 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/service/object.dart View 1 2 3 11 chunks +213 lines, -9 lines 2 comments Download
M runtime/vm/debugger.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 5 chunks +16 lines, -5 lines 0 comments Download
M runtime/vm/debugger_test.cc View 1 2 3 3 chunks +43 lines, -10 lines 0 comments Download
M runtime/vm/json_stream.h View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/json_stream.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 2 3 6 chunks +66 lines, -9 lines 0 comments Download
M runtime/vm/service_test.cc View 1 2 3 62 chunks +341 lines, -237 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
turnidge
6 years, 5 months ago (2014-07-15 01:15:47 UTC) #1
Cutch
no service_tests ? https://codereview.chromium.org/381383010/diff/1/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/381383010/diff/1/runtime/vm/debugger.cc#newcode148 runtime/vm/debugger.cc:148: jsobj.AddProperty("idNum", id()); Is there a better ...
6 years, 5 months ago (2014-07-15 19:42:34 UTC) #2
turnidge
Added service_tests... https://codereview.chromium.org/381383010/diff/1/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/381383010/diff/1/runtime/vm/debugger.cc#newcode148 runtime/vm/debugger.cc:148: jsobj.AddProperty("idNum", id()); On 2014/07/15 19:42:34, Cutch wrote: ...
6 years, 5 months ago (2014-07-15 23:37:25 UTC) #3
Cutch
lgtm
6 years, 5 months ago (2014-07-17 14:54:26 UTC) #4
turnidge
Committed patchset #4 manually as r38654 (presubmit successful).
6 years, 4 months ago (2014-07-28 23:09:07 UTC) #5
koda
https://codereview.chromium.org/381383010/diff/60001/runtime/bin/vmservice/client/lib/src/service/object.dart File runtime/bin/vmservice/client/lib/src/service/object.dart (right): https://codereview.chromium.org/381383010/diff/60001/runtime/bin/vmservice/client/lib/src/service/object.dart#newcode418 runtime/bin/vmservice/client/lib/src/service/object.dart:418: print("GOT $response"); Seems you left some debug printing here. ...
6 years, 4 months ago (2014-07-29 15:55:12 UTC) #6
Cutch
6 years, 4 months ago (2014-07-29 17:04:35 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/381383010/diff/60001/runtime/bin/vmservice/cl...
File runtime/bin/vmservice/client/lib/src/service/object.dart (right):

https://codereview.chromium.org/381383010/diff/60001/runtime/bin/vmservice/cl...
runtime/bin/vmservice/client/lib/src/service/object.dart:418: print("GOT
$response");
On 2014/07/29 15:55:12, koda wrote:
> Seems you left some debug printing here. But this is actually very useful, so
> perhaps we could keep it in some form (e.g., enable it with a flag)?

We have the logging package for this. It's easy to change the level of detail
that is printed on your machine.

Powered by Google App Engine
This is Rietveld 408576698