Index: Source/bindings/v8/ScriptDebugServer.h |
diff --git a/Source/bindings/v8/ScriptDebugServer.h b/Source/bindings/v8/ScriptDebugServer.h |
index 6677dcf2fc69f945b916fa360c5f9147e122539b..e946056a947e1b98fdfe909f0d2948bfa2170ce3 100644 |
--- a/Source/bindings/v8/ScriptDebugServer.h |
+++ b/Source/bindings/v8/ScriptDebugServer.h |
@@ -34,6 +34,7 @@ |
#include "InspectorBackendDispatcher.h" |
#include "bindings/v8/ScopedPersistent.h" |
#include "core/inspector/ScriptBreakpoint.h" |
+#include "core/inspector/ScriptCallStack.h" |
#include "core/inspector/ScriptDebugListener.h" |
#include <v8-debug.h> |
#include "wtf/HashMap.h" |
@@ -97,9 +98,9 @@ public: |
v8::Handle<v8::Value> setFunctionVariableValue(v8::Handle<v8::Value> functionValue, int scopeNumber, const String& variableName, v8::Handle<v8::Value> newValue); |
v8::Local<v8::Value> callDebuggerMethod(const char* functionName, int argc, v8::Handle<v8::Value> argv[]); |
- virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionMessage); |
+ virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionMessage, int* lineNumber = 0, int* columnNumber = 0, RefPtr<ScriptCallStack>* stackTrace = 0); |
vsevik
2014/05/19 12:40:23
Why do you need this default parameters values?
|
virtual void clearCompiledScripts(); |
- virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionMessage); |
+ virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionMessage, int* lineNumber = 0, int* columnNumber = 0, RefPtr<ScriptCallStack>* stackTrace = 0); |
virtual void setPreprocessorSource(const String&) { } |
virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) { } |
virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&); |