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

Issue 2411153002: Make reloadSources service RPC public (Closed)

Created:
4 years, 2 months ago by Cutch
Modified:
4 years, 2 months ago
Reviewers:
turnidge, devoncarew
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make reloadSources service RPC public - [x] Make `reloadSources` RPC public. - [x] Add an optional 'pause' parameter to `reloadSources`. When set to true, the isolate will enter the debug pause loop immediately after reloading sources and before resuming execution. This makes it possible for debugger clients to set breakpoints before resuming. - [x] Add reload_sources_test which tests pausing after reload. - [x] Fix a bug in `GetVarDescriptors` where a null code object could be used. R=turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/2d0a08baf95a4261a6788fe17b899fb55f6c5a58

Patch Set 1 #

Total comments: 2

Patch Set 2 : turnidge review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -9 lines) Patch
M runtime/observatory/lib/event.dart View 1 2 chunks +21 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/models/objects/event.dart View 1 2 chunks +10 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 3 chunks +3 lines, -0 lines 0 comments Download
A runtime/observatory/tests/service/reload_sources_test.dart View 1 1 chunk +44 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/service_test_common.dart View 1 4 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/debugger.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 3 chunks +16 lines, -4 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 chunks +14 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 3 chunks +21 lines, -3 lines 0 comments Download
M runtime/vm/service.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 5 chunks +29 lines, -0 lines 0 comments Download
M runtime/vm/service_event.h View 1 3 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/service_event.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Cutch
4 years, 2 months ago (2016-10-11 23:09:48 UTC) #3
turnidge
lgtm w/ 1 comment https://codereview.chromium.org/2411153002/diff/1/runtime/vm/service_event.h File runtime/vm/service_event.h (right): https://codereview.chromium.org/2411153002/diff/1/runtime/vm/service_event.h#newcode40 runtime/vm/service_event.h:40: kPausePostReload, // isolate is paused ...
4 years, 2 months ago (2016-10-12 02:57:23 UTC) #4
Cutch
https://codereview.chromium.org/2411153002/diff/1/runtime/vm/service_event.h File runtime/vm/service_event.h (right): https://codereview.chromium.org/2411153002/diff/1/runtime/vm/service_event.h#newcode40 runtime/vm/service_event.h:40: kPausePostReload, // isolate is paused after a reload. On ...
4 years, 2 months ago (2016-10-13 01:48:55 UTC) #5
devoncarew
DBC: the new PausePostRequestEvent and the reloadSources call should be added to the service.md doc. ...
4 years, 2 months ago (2016-10-13 14:25:01 UTC) #7
Cutch
On 2016/10/13 14:25:01, devoncarew wrote: > DBC: the new PausePostRequestEvent and the reloadSources call should ...
4 years, 2 months ago (2016-10-13 14:42:34 UTC) #8
Cutch
4 years, 2 months ago (2016-10-13 14:46:03 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2d0a08baf95a4261a6788fe17b899fb55f6c5a58 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698