Index: runtime/vm/dart_entry.cc |
diff --git a/runtime/vm/dart_entry.cc b/runtime/vm/dart_entry.cc |
index 10c194bf8b265bdd7da6b422a6f62df679255c43..e708f409593320fb593ac92f5a331d7a0d139003 100644 |
--- a/runtime/vm/dart_entry.cc |
+++ b/runtime/vm/dart_entry.cc |
@@ -491,6 +491,7 @@ RawObject* DartLibraryCalls::HandleMessage(const Object& handler, |
const Array& args = Array::Handle(isolate, Array::New(kNumArguments)); |
args.SetAt(0, handler); |
args.SetAt(1, message); |
+ ASSERT(isolate->debugger() != NULL); |
if (isolate->debugger()->IsStepping()) { |
// If the isolate is being debugged and the debugger was stepping |
// through code, enable single stepping so debugger will stop |