Provide a way to set a user-readable Isolate name from in-process #28207
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-stale
Closed as the issue or PR is assumed stale
library-developer
type-enhancement
A request for a change that isn't a bug
Dart Isolates have names that are displayed in the Observatory and accessible via the VM service. By default these names are based on the URL used to load the isolates, but they can be set using the VM service. It would be useful to have a static method on the
Service
class indart:developer
that would allow the Dart code itself to set the Isolate's name, rather than having to connect to the VM service and set the name that way.The text was updated successfully, but these errors were encountered: