|
Major rework of vm service events
--------
VM
Add a new ServiceEvent class in the vm. Rework the event type names.
Add BreakpointAdded, BreakpointResolved, and BreakpointRemoved
service events.
Record the top frame for kIsolateInterrupted and kExceptionThrown
debugger events.
Send a top frame in more Pause* events.
Send breakpoint list with the Isolate response. Remove the
getBreakpoints method from the vm service.
Move Resume events into debugger.cc.
Rework MessageHandler a bit so that we can send PauseStart and
PauseExit notifications.
--------
Observatory
Move some event handler from Application to Isolate.
Rewrite breakpoint tracking code to use the new breakpoint events.
Change run state tracking in Isolate.
Change getFromMap so that it applies updates if the map isn't a ref.
Use getFromMap instead of new ServiceObject in invokeRpc. This
fixes some duplicate ServiceObject problems.
Committed: https://code.google.com/p/dart/source/detail?r=44268
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+662 lines, -418 lines) |
Patch |
|
M |
runtime/observatory/lib/src/app/application.dart
|
View
|
1
2
3
4
|
3 chunks |
+19 lines, -34 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/debugger.dart
|
View
|
1
2
3
4
5
|
13 chunks |
+61 lines, -61 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/isolate_summary.dart
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/isolate_summary.html
|
View
|
1
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/script_inset.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/script_inset.html
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/script_ref.dart
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/service/object.dart
|
View
|
1
2
3
4
|
27 chunks |
+199 lines, -136 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/test/code_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/test/coverage_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/test/debugging_test.dart
|
View
|
1
2
3
4
|
6 chunks |
+28 lines, -16 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/test/eval_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/test/gc_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/test/graph_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/test/isolate_lifecycle_test.dart
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/test/source_location_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger.h
|
View
|
1
|
4 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger.cc
|
View
|
1
2
3
4
|
13 chunks |
+36 lines, -45 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
|
5 chunks |
+40 lines, -18 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.h
|
View
|
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/message_handler.h
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/message_handler.cc
|
View
|
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.cc
|
View
|
|
6 chunks |
+11 lines, -22 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/service.idl
|
View
|
|
3 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
|
A |
runtime/vm/service_event.h
|
View
|
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/service_event.cc
|
View
|
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (1 generated)
|