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

Issue 686763004: Allow print() to be used for debugging analysis server. (Closed)

Created:
6 years, 1 month ago by Paul Berry
Modified:
6 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Allow print() to be used for debugging analysis server. We now run analysis server inside a zone so that all print() calls it executes can be captured to a buffer (rather than being sent to standard output, where they will confuse the client). When the server is run in HTTP server mode, the print buffer is displayed on the status page. R=brianwilkerson@google.com, danrubel@google.com Committed: https://code.google.com/p/dart/source/detail?r=41380

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -7 lines) Patch
M pkg/analysis_server/lib/driver.dart View 2 chunks +22 lines, -5 lines 0 comments Download
M pkg/analysis_server/lib/http_server.dart View 4 chunks +21 lines, -1 line 2 comments Download
M pkg/analysis_server/lib/src/get_handler.dart View 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
Paul Berry
6 years, 1 month ago (2014-10-28 20:51:35 UTC) #2
scheglov
DBC I don't like this. It mean that now we cannot just see output from ...
6 years, 1 month ago (2014-10-28 20:59:28 UTC) #3
danrubel
LGTM. Do we want to pipe the print lines into debug notifications so that you ...
6 years, 1 month ago (2014-10-28 21:01:02 UTC) #5
danrubel
On 2014/10/28 20:59:28, scheglov wrote: > DBC > > I don't like this. > It ...
6 years, 1 month ago (2014-10-28 21:02:37 UTC) #6
Paul Berry
On 2014/10/28 20:59:28, scheglov wrote: > DBC > > I don't like this. > It ...
6 years, 1 month ago (2014-10-28 21:06:58 UTC) #7
Brian Wilkerson
LGTM > How do you feel about Dan's proposal to pipe print calls into a ...
6 years, 1 month ago (2014-10-28 21:17:38 UTC) #8
scheglov
On 2014/10/28 21:17:38, Brian Wilkerson wrote: > LGTM > > > How do you feel ...
6 years, 1 month ago (2014-10-28 22:19:11 UTC) #9
Paul Berry
https://codereview.chromium.org/686763004/diff/1/pkg/analysis_server/lib/http_server.dart File pkg/analysis_server/lib/http_server.dart (right): https://codereview.chromium.org/686763004/diff/1/pkg/analysis_server/lib/http_server.dart#newcode23 pkg/analysis_server/lib/http_server.dart:23: static const int PRINT_BUFFER_LENGTH = 1000; On 2014/10/28 21:01:02, ...
6 years, 1 month ago (2014-10-28 23:29:14 UTC) #10
Paul Berry
6 years, 1 month ago (2014-10-28 23:29:33 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 41380 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698