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

Issue 1122503003: Display isolate message queue in Observatory debugger (Closed)

Created:
5 years, 7 months ago by Cutch
Modified:
5 years, 7 months ago
Reviewers:
turnidge
CC:
reviews_dartlang.org, turnidge, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Display isolate message queue in Observatory debugger - Log the parameters to RPCs - Display messages like stack frames - handler function and script visible - message preview instead of local variables - Expanded and previewed messages do not collapse when stepping within the existing message - Mark patch classes as finalized to avoid ASSERT on class_finalizer.cc:2358 ** - Support iterating over message queues - Support printing the message queue as JSON - Inhibit OOB messages from being handled if we are iterating over the message queue - avoids dead lock when looking up port handler (done in Dart code with message handler locked) and a stack overflow trigger to handle OOB messages - make getObject understand message ids - Fix dartbug.com/23355 ** Need to discuss with Ivan and Matthias (reviewed code differs from committed code but matches my fix): https://codereview.chromium.org//828353002 https://code.google.com/p/dart/source/detail?r=42612 R=turnidge@google.com Committed: https://code.google.com/p/dart/source/detail?r=45505

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 40

Patch Set 9 : #

Total comments: 11

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+725 lines, -31 lines) Patch
M runtime/observatory/lib/service_common.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/lib/src/app/location_manager.dart View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/debugger.dart View 1 2 3 4 5 6 7 8 4 chunks +145 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/elements/debugger.html View 1 2 3 4 5 6 7 8 4 chunks +107 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/script_ref.dart View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 4 5 6 7 8 4 chunks +2 lines, -4 lines 0 comments Download
A runtime/observatory/tests/service/get_stack_rpc_test.dart View 1 2 3 4 5 6 7 8 1 chunk +118 lines, -0 lines 0 comments Download
M runtime/vm/class_finalizer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/json_stream.h View 5 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/json_stream.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M runtime/vm/message.h View 1 2 3 4 5 6 7 8 9 4 chunks +32 lines, -0 lines 0 comments Download
M runtime/vm/message.cc View 1 2 3 4 5 6 7 8 9 3 chunks +114 lines, -0 lines 0 comments Download
M runtime/vm/message_handler.h View 1 2 3 4 5 6 7 8 2 chunks +35 lines, -0 lines 0 comments Download
M runtime/vm/message_handler.cc View 1 2 3 4 5 6 7 8 3 chunks +39 lines, -0 lines 0 comments Download
M runtime/vm/message_handler_test.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M runtime/vm/message_test.cc View 1 2 3 4 5 6 7 8 2 chunks +28 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 5 6 7 8 9 4 chunks +59 lines, -15 lines 0 comments Download
M runtime/vm/service/vmservice.dart View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/service_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (1 generated)
Cutch
5 years, 7 months ago (2015-05-04 15:25:26 UTC) #2
turnidge
https://codereview.chromium.org/1122503003/diff/140001/runtime/observatory/lib/src/elements/debugger.dart File runtime/observatory/lib/src/elements/debugger.dart (right): https://codereview.chromium.org/1122503003/diff/140001/runtime/observatory/lib/src/elements/debugger.dart#newcode1323 runtime/observatory/lib/src/elements/debugger.dart:1323: } Nice. https://codereview.chromium.org/1122503003/diff/140001/runtime/observatory/lib/src/elements/debugger.dart#newcode1452 runtime/observatory/lib/src/elements/debugger.dart:1452: @CustomTag('debugger-message') I wonder if we ...
5 years, 7 months ago (2015-05-04 17:47:13 UTC) #3
Cutch
PTAL https://codereview.chromium.org/1122503003/diff/140001/runtime/observatory/lib/src/elements/debugger.dart File runtime/observatory/lib/src/elements/debugger.dart (right): https://codereview.chromium.org/1122503003/diff/140001/runtime/observatory/lib/src/elements/debugger.dart#newcode1323 runtime/observatory/lib/src/elements/debugger.dart:1323: } On 2015/05/04 17:47:12, turnidge wrote: > Nice. ...
5 years, 7 months ago (2015-05-04 19:56:52 UTC) #4
turnidge
lgtm w/ some comments below. https://codereview.chromium.org/1122503003/diff/160001/runtime/observatory/lib/src/elements/script_ref.dart File runtime/observatory/lib/src/elements/script_ref.dart (right): https://codereview.chromium.org/1122503003/diff/160001/runtime/observatory/lib/src/elements/script_ref.dart#newcode13 runtime/observatory/lib/src/elements/script_ref.dart:13: @published int pos = ...
5 years, 7 months ago (2015-05-04 20:11:52 UTC) #5
Cutch
https://codereview.chromium.org/1122503003/diff/160001/runtime/observatory/lib/src/elements/script_ref.dart File runtime/observatory/lib/src/elements/script_ref.dart (right): https://codereview.chromium.org/1122503003/diff/160001/runtime/observatory/lib/src/elements/script_ref.dart#newcode13 runtime/observatory/lib/src/elements/script_ref.dart:13: @published int pos = null; On 2015/05/04 20:11:51, turnidge ...
5 years, 7 months ago (2015-05-04 20:18:58 UTC) #6
Cutch
5 years, 7 months ago (2015-05-04 20:21:07 UTC) #7
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as 45505 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698