|
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
Total comments: 2
|
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
|
Total messages: 10 (4 generated)
|