| Index: runtime/vm/exceptions.cc
|
| diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc
|
| index fa2e44179de9d83d7c11aceb4fa1899363a25afb..1a14466c5cd878afcd5f73cf8e060c102849e3b1 100644
|
| --- a/runtime/vm/exceptions.cc
|
| +++ b/runtime/vm/exceptions.cc
|
| @@ -482,6 +482,7 @@ void Exceptions::Throw(Thread* thread, const Instance& exception) {
|
| Isolate* isolate = thread->isolate();
|
| if (exception.raw() != isolate->object_store()->out_of_memory() &&
|
| exception.raw() != isolate->object_store()->stack_overflow()) {
|
| + ASSERT(isolate->debugger() != NULL);
|
| isolate->debugger()->SignalExceptionThrown(exception);
|
| }
|
| // Null object is a valid exception object.
|
|
|