Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index a2158519eaae40462f223190c6792bdd421b7cb5..2cb67e176be1503a37d99737c3dd776bacb66ea7 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -545,7 +545,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()) { |
- isolate->debugger()->SignalExceptionThrown(exception); |
+ isolate->debugger()->PauseException(exception); |
} |
} |
// Null object is a valid exception object. |