Index: Source/core/inspector/InspectorRuntimeAgent.cpp |
diff --git a/Source/core/inspector/InspectorRuntimeAgent.cpp b/Source/core/inspector/InspectorRuntimeAgent.cpp |
index 9ef67690cf5be0df34a4ec10231929b13f76f53d..c690e8c1c15cdd3088eb57d78f59f16169dfa367 100644 |
--- a/Source/core/inspector/InspectorRuntimeAgent.cpp |
+++ b/Source/core/inspector/InspectorRuntimeAgent.cpp |
@@ -73,7 +73,7 @@ static ScriptDebugServer::PauseOnExceptionsState setPauseOnExceptionsState(Scrip |
return presentState; |
} |
-void InspectorRuntimeAgent::evaluate(ErrorString* errorString, const String& expression, const String* const objectGroup, const bool* const includeCommandLineAPI, const bool* const doNotPauseOnExceptionsAndMuteConsole, const int* executionContextId, const bool* const returnByValue, const bool* generatePreview, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, TypeBuilder::OptOutput<bool>* wasThrown) |
+void InspectorRuntimeAgent::evaluate(ErrorString* errorString, const String& expression, const String* const objectGroup, const bool* const includeCommandLineAPI, const bool* const doNotPauseOnExceptionsAndMuteConsole, const int* executionContextId, const bool* const returnByValue, const bool* generatePreview, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, TypeBuilder::OptOutput<bool>* wasThrown, RefPtr<TypeBuilder::Debugger::ExceptionDetails>& exceptionDetails) |
{ |
InjectedScript injectedScript = injectedScriptForEval(errorString, executionContextId); |
if (injectedScript.isEmpty()) |
@@ -84,7 +84,7 @@ void InspectorRuntimeAgent::evaluate(ErrorString* errorString, const String& exp |
if (asBool(doNotPauseOnExceptionsAndMuteConsole)) |
muteConsole(); |
- injectedScript.evaluate(errorString, expression, objectGroup ? *objectGroup : "", asBool(includeCommandLineAPI), asBool(returnByValue), asBool(generatePreview), &result, wasThrown); |
+ injectedScript.evaluate(errorString, expression, objectGroup ? *objectGroup : "", asBool(includeCommandLineAPI), asBool(returnByValue), asBool(generatePreview), &result, wasThrown, &exceptionDetails); |
if (asBool(doNotPauseOnExceptionsAndMuteConsole)) { |
unmuteConsole(); |