Index: runtime/vm/unit_test.cc |
diff --git a/runtime/vm/unit_test.cc b/runtime/vm/unit_test.cc |
index 9c89d9c7d8bde2be03b5d08a71fa437a2bbb370c..508385597350c965d158cb6d54f4e0b2dd9e4edf 100644 |
--- a/runtime/vm/unit_test.cc |
+++ b/runtime/vm/unit_test.cc |
@@ -280,11 +280,14 @@ void TestCase::SetReloadTestScript(const char* script) { |
Dart_Handle TestCase::TriggerReload() { |
Isolate* isolate = Isolate::Current(); |
+ JSONStream js; |
{ |
TransitionNativeToVM transition(Thread::Current()); |
- isolate->ReloadSources(false, // force_reload |
+ isolate->ReloadSources(&js, |
+ false, // force_reload |
true); // dont_delete_reload_context |
+ fprintf(stderr, "RELOAD REPORT:\n%s\n", js.ToCString()); |
} |
return Dart_FinalizeLoading(false); |