Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 82fab36a2b83ea96c80042d232b06dda40db30c2..280ef512862bd3a356a01424c3fff0baeda11f9c 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -669,8 +669,8 @@ bool Debug::CompileDebuggerScript(Isolate* isolate, int index) { |
MessageLocation computed_location; |
isolate->ComputeLocation(&computed_location); |
Handle<Object> message = MessageHandler::MakeMessageObject( |
- isolate, "error_loading_debugger", &computed_location, |
- Vector<Handle<Object> >::empty(), Handle<JSArray>()); |
+ isolate, MessageTemplate::kDebuggerLoading, &computed_location, |
+ isolate->factory()->undefined_value(), Handle<JSArray>()); |
DCHECK(!isolate->has_pending_exception()); |
Handle<Object> exception; |
if (maybe_exception.ToHandle(&exception)) { |