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

Issue 1311503004: Remember when an isolate was paused and subtly display it in Obseravatory (Closed)

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

Description

Remember when an isolate was paused and subtly display it in Obseravatory - Display paused time as tooltip over "paused" word. - Send a timestamp with every ServiceEvent. - Unit tests verifying that paused on start, exit, and breakpoint timestamps are stable. - Remember the pause time in DebuggerEvent. - Remember the pause time in MessageHandler. - Updated service protocol documentation. R=turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/d0882dd363d1010997a423d55a9991e3ba219f00

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -21 lines) Patch
M runtime/observatory/lib/src/elements/isolate_summary.html View 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 5 chunks +6 lines, -2 lines 0 comments Download
M runtime/observatory/tests/service/pause_on_start_and_exit_test.dart View 1 3 chunks +21 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/pause_on_start_then_step_test.dart View 1 3 chunks +22 lines, -0 lines 0 comments Download
M runtime/vm/debugger.h View 3 chunks +9 lines, -1 line 0 comments Download
M runtime/vm/debugger.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/message_handler.h View 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/message_handler.cc View 6 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 3 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/service/service.md View 1 chunk +5 lines, -0 lines 1 comment Download
M runtime/vm/service_event.h View 3 chunks +6 lines, -14 lines 0 comments Download
M runtime/vm/service_event.cc View 1 5 chunks +34 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Cutch
5 years, 3 months ago (2015-08-24 23:50:11 UTC) #2
turnidge
We create a Resume event in isolate.cc on line 1699. This resume event will have ...
5 years, 3 months ago (2015-08-25 18:25:31 UTC) #3
turnidge
https://codereview.chromium.org/1311503004/diff/1/runtime/vm/debugger.h File runtime/vm/debugger.h (right): https://codereview.chromium.org/1311503004/diff/1/runtime/vm/debugger.h#newcode359 runtime/vm/debugger.h:359: timestamp_(-1) {} On 2015/08/25 18:25:31, turnidge wrote: > Let's ...
5 years, 3 months ago (2015-08-25 18:29:03 UTC) #4
Cutch
PTAL https://codereview.chromium.org/1311503004/diff/1/runtime/observatory/lib/src/service/object.dart File runtime/observatory/lib/src/service/object.dart (right): https://codereview.chromium.org/1311503004/diff/1/runtime/observatory/lib/src/service/object.dart#newcode1765 runtime/observatory/lib/src/service/object.dart:1765: new DateTime.fromMillisecondsSinceEpoch(map['timestamp'].toInt()); On 2015/08/25 18:25:31, turnidge wrote: > ...
5 years, 3 months ago (2015-08-25 21:54:58 UTC) #5
turnidge
lgtm
5 years, 3 months ago (2015-08-26 17:43:56 UTC) #6
Cutch
Committed patchset #3 (id:40001) manually as d0882dd363d1010997a423d55a9991e3ba219f00 (presubmit successful).
5 years, 3 months ago (2015-08-26 17:58:05 UTC) #7
nweiz
5 years, 3 months ago (2015-09-10 22:45:14 UTC) #9
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/1311503004/diff/40001/runtime/vm/service/serv...
File runtime/vm/service/service.md (right):

https://codereview.chromium.org/1311503004/diff/40001/runtime/vm/service/serv...
runtime/vm/service/service.md:964: // paused. For other events, the timestamp is
from when the event was created.
Which events are which?

Powered by Google App Engine
This is Rietveld 408576698