[vm/service]: expose Pointer<T> address in VM Service Protocol
Pointer<T> instances were previously serialized as PlainInstance
with no address, making them opaque to all debugger clients.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I don't see any tests.
Does the service protocol have a test suite where we can add a test?
pointer,Nit: All the other entries have a comment.
// Preserve RPCError exceptions as-is.unrelated change?
/// An instance of the dart:ffi Pointer<T> class.You might want to add a comment that `T` is erased at runtime.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Preserve RPCError exceptions as-is.unrelated change?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Preserve RPCError exceptions as-is.Nourhan Hasanunrelated change?
This was removed when I ran: `dart tool/generate.dart`
You can use `git blame` to figure out why changes were made.
It looks like this was a fix recently: https://dart-review.googlesource.com/c/sdk/+/458040
And probably that fix did not run the generator, so the person forgot to run the generator most likely. I think the right thing to do here is to update the generator. (If it's a small fix, can be in this CL. Otherwise, its better as a separate CL.)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I don't see any tests.
Does the service protocol have a test suite where we can add a test?
This is the file: pkg/vm_service/test/get_object_rpc_test.dart
I will add tests here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Preserve RPCError exceptions as-is.Nourhan Hasanunrelated change?
Daco HarkesThis was removed when I ran: `dart tool/generate.dart`
You can use `git blame` to figure out why changes were made.
It looks like this was a fix recently: https://dart-review.googlesource.com/c/sdk/+/458040
And probably that fix did not run the generator, so the person forgot to run the generator most likely. I think the right thing to do here is to update the generator. (If it's a small fix, can be in this CL. Otherwise, its better as a separate CL.)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
/// An instance of the dart:ffi Pointer<T> class.You might want to add a comment that `T` is erased at runtime.
Is it even worth mentioning the type argument?
const TypeArguments& type_args =As Daco mentioned, the type arguments are erased for pointers. I think we should just remove this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |