Ryan Macnak
83eeab1e63
Miscellaneous documentation updates.
...
Change-Id: I9cc022443ba70b0a450a86943f7636dc6f8c975c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128373
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
2019-12-13 23:10:55 +00:00
Zichang Guo
bf69257c5f
[dart:io] socket profiler in dart:io
...
Add socket profiler functionality through service extension.
Change-Id: I717b72fbb1c53503dfb8fa08789417c18300565d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124582
Commit-Queue: Zichang Guo <zichangguo@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-12-02 19:11:18 +00:00
Ben Konyi
60c34ac420
[ VM / Service ] Allow for the profiler to be enabled/disabled via SetFlags RPC
...
Disabling the profiler will **not** release the sample buffer on Linux,
MacOS, and other platforms which utilize signals for profiling as
there's no way to ensure all signals have been receieved after the
thread interrupter has been shutdown.
Change-Id: Ifb3230fdb95e9bc9147cbd4b85d1a84e976ce119
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123554
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-10-31 21:18:38 +00:00
Alexander Aprelev
9e636b5ab4
Reland "[vm/service] Introduce IsolateGroup entity to vm service api.""
...
This reverts commit f020ce5d23 with patchset 1 having original revert, rest - fixes
for calling destructors on unlinked IntrusiveDL elements and for assuming int is int64(which breaks down on simarm, ia32 bots).
Fixes https://github.com/dart-lang/sdk/issues/38926
Issue https://github.com/dart-lang/sdk/issues/36097
Change-Id: I867526c7de3786806670d1f43dbff07228f80028
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121870
Commit-Queue: Alexander Aprelev <aam@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-10-17 03:45:41 +00:00
Alexander Aprelev
f020ce5d23
Revert "[vm/service] Introduce IsolateGroup entity to vm service api."
...
This reverts commit f219e5152d as it breaks few bots.
Change-Id: I8d1d42d1ac662c2dba9ea9270c7a6cdc4f0621bd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121886
Reviewed-by: Ben Konyi <bkonyi@google.com >
2019-10-16 19:45:23 +00:00
Alexander Aprelev
f219e5152d
[vm/service] Introduce IsolateGroup entity to vm service api.
...
This is to enable vm clients to ask how much memory is consumed by isolate group.
Issue https://github.com/dart-lang/sdk/issues/36097
Change-Id: I4f1c499bf02c20b80e9802d8ad60e7ea65cfb375
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119724
Commit-Queue: Alexander Aprelev <aam@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2019-10-16 18:05:06 +00:00
Ben Konyi
48f7636798
[ package:vm_service ] Added HeapSnapshotGraph, a helper class which parses the responses from the HeapSnapshot event stream.
...
Change-Id: I0844d5d9e61351bae64ed2b0747d86872c336339
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117922
Reviewed-by: Terry Lucas <terry@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2019-09-26 21:12:05 +00:00
Ben Konyi
35748514c7
[ VM / Service ] Added additional tests for package:vm_service and fixed service bugs
...
Change-Id: I3c96521a16bf0493cd0dc7ca9249487b3d9e3e64
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118465
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Devon Carew <devoncarew@google.com >
2019-09-25 00:39:56 +00:00
Ben Konyi
68dede011e
[ VM / Service ] Add getCpuProfileSamples RPC which returns a minimally processed sample buffer.
...
Change-Id: Ic0a47d5eea692b235327622508d904f7396babe3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112265
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-09-07 01:04:08 +00:00
Ben Konyi
9a847a98e8
[ VM / Service ] Fix docs for @Instance not including optional closureFunction and closureContext fields
...
Fixes https://github.com/dart-lang/sdk/issues/37989
Change-Id: I1e59dc9d27bc5c032d964207dca67bd8f4ce68ac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115610
Reviewed-by: Gary Roumanis <grouma@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2019-09-05 18:53:32 +00:00
Devon Carew
0ad703b534
[pkg:vm_service] re-generate the library based on the latest spec
...
Change-Id: Ie04198ae8726f3cbb3619c97e5c3bb83ee005dc2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113752
Reviewed-by: Ben Konyi <bkonyi@google.com >
Commit-Queue: Devon Carew <devoncarew@google.com >
2019-08-19 22:09:53 +00:00
Ryan Macnak
6e987b6eb5
[vm, service] Add requestHeapSnapshot.
...
This replaces _requestHeapSnapshot and _getObjectByAddresses, which relied on the invalid assumption that objects don't move and the heap hasn't mutated since the initial snapshot.
Updates Observatory to the new format. Adds treemap visualization of the dominator tree. Adds the ability to save and load heap snapshots to files. Removes analysis grouping references by source and target class. Removes ability to navigate from a pixel in the fragmentation view to inspector. Removes ability to query the top retaining instance from an ordinary class browser.
Change-Id: Ia7781c05d43bf3ec149f8b4ecab803b37c3ee981
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112181
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
2019-08-19 19:31:42 +00:00
Ben Konyi
1e80e917b6
[ VM / Service ] Update package:vm_service to support service protocol 3.25
...
Change-Id: I81e7e658985a2cb90a2a38676cf59022c5457398
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111364
Reviewed-by: Kenzie Schmoll <kenzieschmoll@google.com >
2019-07-31 00:14:21 +00:00
Ben Konyi
5f32027e1d
[ VM / Service ] Add getInboundReferences, getRetainingPath RPCs and InboundReferences, InboundReference, RetainingPath, RetainingObject objects.
...
Change-Id: I26211d13d49688037114d76f648e500b98ec3295
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108560
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-07-30 23:26:28 +00:00
Ben Konyi
8591778065
[ VM / Service ] Added 'operatingSystem' property to VM object
...
Allows for VM service clients to determine information about the system
the service is running on. Needed for some DevTools functionality.
Change-Id: I530984816e6cc1e4ca378454882219085e2d9de8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111361
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-07-30 22:31:26 +00:00
Ben Konyi
babefb8c01
[ VM / Service ] Added VMFlagUpdated event to VM stream
...
Fixes https://github.com/dart-lang/sdk/issues/37557
Change-Id: I129c60a4ac8f42e2f338e6bd15f7fa6fcfe7f54a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109721
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-07-23 15:24:28 +00:00
Ben Konyi
0de18dce6c
[ VM / Service ] Make _registerService and related streams / events public
...
Change-Id: I243bed9e1f4b3bbcfd232a8c27bf352f55284644
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108366
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-07-10 16:07:15 +00:00
Devon Carew
48e9366923
fix a typo in the vm service spec
...
Change-Id: I7e68d522ac3578d3026543383c3c21517ada09f0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107800
Reviewed-by: Ben Konyi <bkonyi@google.com >
2019-07-08 15:49:05 +00:00
bkonyi
922a7a90c6
[ VM / Service ] Add getVMTimelineMicros RPC to the service protocol
...
Allows for clients outside of the process to retrieve the current clock used by
the timeline.
Change-Id: I8fc3f06d537b00cd961bffe29100e9005da7b4e1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107445
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2019-06-26 20:20:36 +00:00
Kenzie Schmoll
3e732e5bbe
Fixes for service.md.
...
- getInstances needs a param for isolateId. Without this param, we see runtime errors.
- InstanceSet needs instances to have type @Object[]. We see types of objects here other than
InstanceRefs (ObjRef, FieldRef, etc.), and we need to be able to handle all types. If we do
not, we see runtime errors.
- getVMTimeline params should be optional. Before this method was made public, you did not
have to specify origin / extent times to pull the timeline.
Fixes https://github.com/dart-lang/sdk/issues/37349 .
Fixes https://github.com/dart-lang/sdk/issues/37351 .
Change-Id: Icb9874cfb102268cc561978a74c11cac02bcfc0c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107190
Reviewed-by: Ben Konyi <bkonyi@google.com >
Commit-Queue: Kenzie Schmoll <kenzieschmoll@google.com >
2019-06-25 19:14:52 +00:00
Ben Konyi
27d0731ca5
[ VM / Service ] s/boolean/bool/ in service.md
...
Change-Id: I62a25b21da7072041b972518794994d5ea1617b0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106983
Reviewed-by: Ben Konyi <bkonyi@google.com >
2019-06-21 19:45:24 +00:00
Ben Konyi
6af218685e
[ VM / Service ] Add getInstances and InstanceSet to the service protocol.
...
Change-Id: Ia5aab0f1bbdb99a7690a107eeef08de6a1f33656
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106561
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-06-19 23:59:32 +00:00
Ryan Macnak
92701dfa48
[vm] Document clock compatibility between Timeline.now and Dart_TimelineGetMicros.
...
Change-Id: Ife4b5360b9c42221b9dac84014d072f60cd8f11c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106720
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-06-19 21:17:51 +00:00
Ben Konyi
a75ded625e
[ VM / Service ] Made VM timeline functionality public through the service API.
...
Change-Id: I8228f0417047af53edc6f570940d452da3155bbd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106061
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-06-19 16:06:12 +00:00
Ben Konyi
74af4a00b2
[ VM / Service ] Created public implementation of getAllocationProfile RPC
...
Change-Id: I8c8cb4d47466ae6a298961652eeded762c769568
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/105730
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2019-06-13 23:45:52 +00:00
Ben Konyi
4b009e1d01
[ Service ] Updated Q/A with section on adding experimental functionality
...
Change-Id: I9cc051e7b53f1d9850f6129656196ab47b7f2bf7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/105022
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-06-07 19:51:31 +00:00
Ben Konyi
37b7db8fff
[ VM / Service ] Added document outlining service protocol design principles.
...
Change-Id: Iac4d0095b9dab220609f9df6a732506352abf077
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/104804
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-06-04 22:25:32 +00:00
Ben Konyi
554f9db768
[ VM / Service ] Made Logging event and LogRecord public
...
Change-Id: Ib1c99a1f2483b98bc414edb9ad0b109ce909cecb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100661
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-05-28 19:20:40 +00:00
Devon Carew
87a3256e8f
Add lineOffset and columnOffset fields to the Script service protocol class.
...
Change-Id: I90c482fb3450bb6bbef5d5fa77ae736e6ed76b95
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99191
Reviewed-by: Ben Konyi <bkonyi@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2019-04-29 22:52:17 +00:00
Devon Carew
1bc1e483e0
Fix a typo in the service protocol docs.
...
Change-Id: Ib2299023c8284e39976cbf8bae8d0edf2a13d330
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98800
Reviewed-by: Ben Konyi <bkonyi@google.com >
2019-04-09 23:31:21 +00:00
Ben Konyi
1efe7e2518
[ VM / Service ] Added getMemoryUsage RPC and MemoryUsage object to service protocol
...
Change-Id: If15e49d7aab93382c15529a738b492552faf5376
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95489
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-03-14 21:53:49 +00:00
Ben Konyi
585eb7f507
[ VM / Service ] Added disableBreakpoints parameter to evaluate, evaluateInFrame and invoke RPCs
...
- Setting the `disableBreakpoints` parameter to true will result in any
breakpoints hit during execution resulting from an evaluate or invoke
call to be ignored.
- Default behavior is the same (break on breakpoints).
- Updated Observatory eval box to disable breakpoints.
- Added tests
Change-Id: Ibf40f8a8de018718435118e13cc2e969f8ed7944
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95320
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Jacob Richman <jacobr@google.com >
2019-03-08 02:19:06 +00:00
Ben Konyi
435a52eafa
[ VM / Service ] Fixed inconsistencies in service protocol spec.
...
Change-Id: Ifdb3f37883db215f6a7edcde14b08cba653b8f08
Reviewed-on: https://dart-review.googlesource.com/c/93860
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-02-20 23:15:47 +00:00
Devon Carew
b0b055541b
Make Script.tokenPosTable optional.
...
Change-Id: I681f6c3c762e16a2eff8a9aac1d680856aa94935
Reviewed-on: https://dart-review.googlesource.com/c/90321
Reviewed-by: Ben Konyi <bkonyi@google.com >
Commit-Queue: Devon Carew <devoncarew@google.com >
2019-01-18 22:46:23 +00:00
Ben Konyi
a10ddca1b1
[ VM / Service ] Allow for profile_period flag to be set via the service protocol
...
`profile_period` has been added to the list of flags which can be
changed at runtime via the `setFlag` RPC. Changing this flag at runtime will
cause the ThreadInterrupter to be shutdown, reinitialized, and started with the
new profiling period.
Fixes #35654 .
Change-Id: I2f365fdf8e404270f2eed1e172c8d21b48e0aff9
Reviewed-on: https://dart-review.googlesource.com/c/89445
Auto-Submit: Ben Konyi <bkonyi@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Reviewed-by: Jacob Richman <jacobr@google.com >
2019-01-16 18:08:19 +00:00
Mouad Debbar
6bb1dcdfa4
Fix wording
...
The current wording seems to be saying the opposite of what it's supposed to.
Closes #35507
https://github.com/dart-lang/sdk/pull/35507
GitOrigin-RevId: cd1493d8bebf468459b3bd44544a24e18cda24cf
Change-Id: I200327ff152e23b56b11d0d503212926da3fe084
Reviewed-on: https://dart-review.googlesource.com/c/88123
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Michael Thomsen <mit@google.com >
2019-01-09 15:41:31 +00:00
Stan Manilov
78f913273b
Fix link to 'getScripts'
...
This was perhaps overlooked during refactoring. The current link doesn't
work.
Change-Id: Ia4f1378ba5c16a3ca1386e5fbebd1c78d824aa4e
Reviewed-on: https://dart-review.googlesource.com/c/87076
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Keerti Parthasarathy <keertip@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
2018-12-14 10:49:18 +00:00
Régis Crelier
cb8c0ab8f5
[vm] Remove MixinAppType VM class and VM code supporting type resolution.
...
In Dart2, mixin application classes are generated by kernel and type resolution
is performed by kernel. In Dart1, using the VM parser, these tasks were done
during class and type finalization.
Change-Id: I927b1446d906ffd76ed9591c96e0d974df09f3bf
Reviewed-on: https://dart-review.googlesource.com/c/87025
Commit-Queue: Régis Crelier <regis@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2018-12-13 20:18:36 +00:00
Keerti Parthasarathy
531551c7f1
Remove trailing comma in json
...
Change-Id: Ia51ed56fc6c63ce93cb0771dc68a5d94f53bc9e0
Reviewed-on: https://dart-review.googlesource.com/c/86060
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2018-12-04 20:08:33 +00:00
Keerti Parthasarathy
4bda0fe427
Remove trailing comma from json
...
Change-Id: I2df9b3342b5d166606c3bc13569896dfeac20fe4
Reviewed-on: https://dart-review.googlesource.com/c/85960
Reviewed-by: Alexander Markov <alexmarkov@google.com >
Commit-Queue: Keerti Parthasarathy <keertip@google.com >
2018-12-04 17:22:20 +00:00
Jens Johansen
55f3cc98d9
Fix missing comma in service.md
...
Change-Id: I324049327cc7454edcc56bf172707e174c3fa729
Reviewed-on: https://dart-review.googlesource.com/c/82996
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Jens Johansen <jensj@google.com >
2018-11-07 06:32:07 +00:00
Ben Konyi
7c0b225666
[ VM / Service ] Added 'getScripts' RPC.
...
'getScripts' returns a 'ScriptList' object which represents all loaded
scripts for the isolate. This is the fix for issue 30061 and b/115567301.
Change-Id: I41248e97cb78a39d286020c7fdd7ee72f0cc55db
Reviewed-on: https://dart-review.googlesource.com/c/82360
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Auto-Submit: Ben Konyi <bkonyi@google.com >
2018-11-01 17:44:30 +00:00
Danny Tuppeny
816ab3208c
Fix versions in spec titles to match the description below
...
Change-Id: I1c3ddadd292aedb83495fee1f90caf331c7241d7
Reviewed-on: https://dart-review.googlesource.com/c/81271
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2018-10-25 00:37:35 +00:00
Devon Carew
45a5bc063a
Mark the Script.source field as nullable.
...
Change-Id: I1f176c7aa75eb9a15d3e237d894395632830291e
Reviewed-on: https://dart-review.googlesource.com/c/77981
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Devon Carew <devoncarew@google.com >
2018-10-03 22:59:17 +00:00
Ryan Macnak
7f9a9feae1
[vm, service] Rename 'invoke' parameter 'receiverId' to 'targetId'.
...
For consistency with the documentation and other service methods.
Change-Id: Ife4a4cf2445b7dad72e0a911fe1b94cec6ab5db5
Reviewed-on: https://dart-review.googlesource.com/77007
Reviewed-by: Devon Carew <devoncarew@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2018-09-27 22:02:42 +00:00
Danny Tuppeny
805c92cf32
Add @TypeArguments as a valid type for BoundVariable.value
...
Change-Id: I47075c5ed5228f112b45ce4a7966e809aadc8682
Reviewed-on: https://dart-review.googlesource.com/73540
Reviewed-by: Régis Crelier <regis@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Danny Tuppeny <dantup@google.com >
2018-09-11 02:26:39 +00:00
Ryan Macnak
7b9fb893d2
[vm] Add a service method for 'invoke' as the dual to 'eval'.
...
Refactor the implementation of 'invoke' for sharing between the embedding API, mirrors, and the VM service. The fixes various issues in the embedding API:
- Dart_Invoke, Dart_GetField and Dart_SetField now generate the same NoSuchMethodErrors as dart:mirrors and ordinary Dart code.
- Dart_GetField and Dart_SetField now accept a null receiver.
- Dart_GetField now handles closurization.
- Dart_Invoke now handles calls through function-typed getters.
In mirrors, it also changes:
- LibraryMirror.invoke/getField/setField now see members in the export namespace, not just local declarations. I.e., invocation with a LibraryMirror behaves the same ways as invocation against a library prefix in ordinary Dart code.
Bug: https://github.com/dart-lang/sdk/issues/11870
Bug: https://github.com/dart-lang/sdk/issues/13643
Bug: https://github.com/dart-lang/sdk/issues/29893
Bug: https://github.com/dart-lang/sdk/issues/33417
Bug: https://github.com/dart-lang/sdk/issues/34006
Change-Id: I913e8eef16943a3e86eda55c8d122819e41ad7cc
Reviewed-on: https://dart-review.googlesource.com/67302
Reviewed-by: Siva Annamalai <asiva@google.com >
2018-08-09 18:16:03 +00:00
Alexander Aprelev
a5e41681e5
Add support for expression compilation via service.
...
If there is registered expression compiler, VM debugger uses it to compile expressions. Otherwise, it will fallback to use kernel service compiler.
This is needed to support Flutter use case where compiler is running on developer's host machine, not on the device where VM is running.
Bug: dartbug.com/31981
Change-Id: I8bdfc8ab45a57c306169abe189f1e24e1b0bcf40
Reviewed-on: https://dart-review.googlesource.com/57520
Commit-Queue: Alexander Aprelev <aam@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2018-06-05 04:16:39 +00:00
Alexander Aprelev
fc206a7589
Add Kill isolate service request.
...
This is useful when embedder needs to kill an isolate that might be paused on a breakpoint.
Change-Id: If54decda5d16c694b81a25ae43d37f8eb41e8105
Reviewed-on: https://dart-review.googlesource.com/55276
Commit-Queue: Alexander Aprelev <aam@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2018-05-21 20:00:58 +00:00
Paul Berry
98d7796662
Fix some minor typos in the service protocol documentation.
...
Change-Id: I05481d6bf167fee57f27d769906ec1f8f5b3b6c4
Reviewed-on: https://dart-review.googlesource.com/54711
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2018-05-14 17:58:59 +00:00