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

Issue 1232193003: Provide stdout and stderr output in the Observatory debugger. (Closed)

Created:
5 years, 5 months ago by turnidge
Modified:
5 years, 5 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Provide stdout and stderr output in the Observatory debugger. Implement two new streams, 'Stdout' and 'Stderr' in the service protocol. BUG= R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/e4684c7627e44c1d2c22a6ed039b220079c8ba4a

Patch Set 1 #

Patch Set 2 : tidy up #

Total comments: 18

Patch Set 3 : code review #

Patch Set 4 : before commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+685 lines, -131 lines) Patch
M runtime/bin/builtin_natives.cc View 1 2 3 chunks +16 lines, -11 lines 0 comments Download
M runtime/bin/file.cc View 1 2 4 chunks +24 lines, -2 lines 0 comments Download
M runtime/bin/main.cc View 1 2 2 chunks +33 lines, -0 lines 0 comments Download
M runtime/include/dart_tools_api.h View 1 chunk +68 lines, -0 lines 0 comments Download
M runtime/observatory/lib/service.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/debugger.dart View 1 2 3 10 chunks +111 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/debugger.html View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
A runtime/observatory/tests/service/capture_stdio_test.dart View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/service.h View 1 2 4 chunks +44 lines, -9 lines 0 comments Download
M runtime/vm/service.cc View 1 2 3 15 chunks +113 lines, -45 lines 0 comments Download
M runtime/vm/service/service.md View 3 chunks +18 lines, -1 line 0 comments Download
M runtime/vm/service/vmservice.dart View 4 chunks +6 lines, -17 lines 0 comments Download
M runtime/vm/service_event.h View 6 chunks +51 lines, -18 lines 0 comments Download
M runtime/vm/service_event.cc View 1 2 10 chunks +24 lines, -15 lines 0 comments Download
M runtime/vm/service_isolate.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (1 generated)
turnidge
5 years, 5 months ago (2015-07-10 22:11:32 UTC) #2
Cutch
https://codereview.chromium.org/1232193003/diff/20001/runtime/bin/builtin_natives.cc File runtime/bin/builtin_natives.cc (right): https://codereview.chromium.org/1232193003/diff/20001/runtime/bin/builtin_natives.cc#newcode123 runtime/bin/builtin_natives.cc:123: extern bool captureStdout; capture_stdout https://codereview.chromium.org/1232193003/diff/20001/runtime/bin/builtin_natives.cc#newcode136 runtime/bin/builtin_natives.cc:136: fwrite(chars, 1, length, ...
5 years, 5 months ago (2015-07-13 14:10:29 UTC) #3
Cutch
https://codereview.chromium.org/1232193003/diff/20001/runtime/observatory/tests/service/capture_stdio_test.dart File runtime/observatory/tests/service/capture_stdio_test.dart (right): https://codereview.chromium.org/1232193003/diff/20001/runtime/observatory/tests/service/capture_stdio_test.dart#newcode9 runtime/observatory/tests/service/capture_stdio_test.dart:9: import 'dart:async'; sort imports
5 years, 5 months ago (2015-07-13 16:24:54 UTC) #4
turnidge
PTAL https://codereview.chromium.org/1232193003/diff/20001/runtime/bin/builtin_natives.cc File runtime/bin/builtin_natives.cc (right): https://codereview.chromium.org/1232193003/diff/20001/runtime/bin/builtin_natives.cc#newcode123 runtime/bin/builtin_natives.cc:123: extern bool captureStdout; On 2015/07/13 14:10:29, Cutch wrote: ...
5 years, 5 months ago (2015-07-13 22:50:36 UTC) #5
Cutch
lgtm
5 years, 5 months ago (2015-07-13 23:16:11 UTC) #6
turnidge
5 years, 5 months ago (2015-07-14 19:54:11 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
e4684c7627e44c1d2c22a6ed039b220079c8ba4a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698