| Index: Source/bindings/v8/ScriptDebugServer.h
|
| diff --git a/Source/bindings/v8/ScriptDebugServer.h b/Source/bindings/v8/ScriptDebugServer.h
|
| index bd3e1a097e4be9b4fdb355fbbdaa9bf5db438a28..1bc4925f0a81fc2b9c2fde3ec621154f8ea30445 100644
|
| --- a/Source/bindings/v8/ScriptDebugServer.h
|
| +++ b/Source/bindings/v8/ScriptDebugServer.h
|
| @@ -80,6 +80,7 @@ public:
|
|
|
| bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, ScriptValue* newCallFrames, ScriptObject* result);
|
| void updateCallStack(ScriptValue* callFrame);
|
| + bool requestAsyncCallFrames();
|
|
|
| class Task {
|
| public:
|
| @@ -110,6 +111,7 @@ protected:
|
| virtual ~ScriptDebugServer();
|
|
|
| ScriptValue currentCallFrame();
|
| + ScriptValue currentCallFrame(v8::Handle<v8::Object> executionState, v8::Handle<v8::Context> pausedContext);
|
|
|
| virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Context>) = 0;
|
| virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) = 0;
|
| @@ -119,6 +121,9 @@ protected:
|
| void handleProgramBreak(v8::Handle<v8::Object> executionState, v8::Handle<v8::Value> exception, v8::Handle<v8::Array> hitBreakpoints);
|
| void handleProgramBreak(const v8::Debug::EventDetails&, v8::Handle<v8::Value> exception, v8::Handle<v8::Array> hitBreakpointNumbers);
|
|
|
| + static void asyncCallFramesCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| + void handleAsyncCallFrames(v8::Handle<v8::Object> executionState);
|
| +
|
| static void v8DebugEventCallback(const v8::Debug::EventDetails& eventDetails);
|
| void handleV8DebugEvent(const v8::Debug::EventDetails& eventDetails);
|
|
|
| @@ -132,6 +137,7 @@ protected:
|
| v8::Handle<v8::Context> m_pausedContext;
|
| bool m_breakpointsActivated;
|
| ScopedPersistent<v8::FunctionTemplate> m_breakProgramCallbackTemplate;
|
| + ScopedPersistent<v8::FunctionTemplate> m_asyncCallFramesCallbackTemplate;
|
| HashMap<String, OwnPtr<ScopedPersistent<v8::Script> > > m_compiledScripts;
|
| v8::Isolate* m_isolate;
|
|
|
|
|