Index: runtime/vm/debugger_api_impl.cc |
=================================================================== |
--- runtime/vm/debugger_api_impl.cc (revision 31232) |
+++ runtime/vm/debugger_api_impl.cc (working copy) |
@@ -973,6 +973,12 @@ |
} |
+DART_EXPORT Dart_IsolateId Dart_GetIsolateId(Dart_Isolate dart_isolate) { |
+ Isolate* isolate = reinterpret_cast<Isolate*>(dart_isolate); |
+ return isolate->debugger()->GetIsolateId(); |
+} |
+ |
+ |
DART_EXPORT char* Dart_GetVmStatus(const char* request) { |
if (strncmp(request, "/isolate/", 9) == 0) { |
return Isolate::GetStatus(request); |