|
Add step OverAwait to service protocol
Additions to service protocol:
- PauseEvent includes an "atAsyncContinuation" boolean value.
- Resume command can take an 'OverAsyncContinuation' step mode.
- Breakpoints have an optional 'isSyntheticAsyncContinuation' boolean value.
Added low level step_over_await_test.
Issuing the OverAsyncContinuation resume command does the following:
- Adds a synthetic breakpoint (#1) to the async closure.
- Resumes the isolate.
- When we hit #1, the VM issues a StepOver and then reports us paused at #1.
At the next resume command, the VM will remove #1.
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/5c8d79c55a69c6a80072a8eb8307e7e38085357b
Total comments: 15
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+397 lines, -228 lines) |
Patch |
|
M |
runtime/observatory/lib/src/elements/debugger.dart
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/service/object.dart
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+17 lines, -93 lines |
0 comments
|
Download
|
|
D |
runtime/observatory/tests/service/async_continuation_test.dart
|
View
|
1
2
3
|
1 chunk |
+0 lines, -95 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/async_next_test.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/get_version_rpc_test.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/smart_next_test.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
A |
runtime/observatory/tests/service/step_over_await_test.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+170 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/test_helper.dart
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+75 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/vm_timeline_flags_test.dart
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger.h
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+24 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger.cc
|
View
|
1
2
3
4
5
6
7
|
11 chunks |
+76 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/service.md
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/service_event.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_event.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
Total messages: 11 (5 generated)
|