| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8Debugger_h | 5 #ifndef V8Debugger_h |
| 6 #define V8Debugger_h | 6 #define V8Debugger_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/InspectorTypeBuilder.h" | 9 #include "core/InspectorTypeBuilder.h" |
| 10 #include "core/inspector/v8/V8DebuggerListener.h" | 10 #include "core/inspector/v8/V8DebuggerListener.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void setPauseOnNextStatement(bool) = 0; | 50 virtual void setPauseOnNextStatement(bool) = 0; |
| 51 virtual bool pausingOnNextStatement() = 0; | 51 virtual bool pausingOnNextStatement() = 0; |
| 52 virtual bool canBreakProgram() = 0; | 52 virtual bool canBreakProgram() = 0; |
| 53 virtual void breakProgram() = 0; | 53 virtual void breakProgram() = 0; |
| 54 virtual void continueProgram() = 0; | 54 virtual void continueProgram() = 0; |
| 55 virtual void stepIntoStatement() = 0; | 55 virtual void stepIntoStatement() = 0; |
| 56 virtual void stepOverStatement() = 0; | 56 virtual void stepOverStatement() = 0; |
| 57 virtual void stepOutOfFunction() = 0; | 57 virtual void stepOutOfFunction() = 0; |
| 58 virtual void clearStepping() = 0; | 58 virtual void clearStepping() = 0; |
| 59 | 59 |
| 60 virtual bool setScriptSource(const String& sourceID, const String& newConten
t, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceErr
or>&, v8::Global<v8::Object>* newCallFrames, RefPtr<JSONObject>* result) = 0; | 60 virtual bool setScriptSource(const String& sourceID, const String& newConten
t, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceErr
or>&, v8::Global<v8::Object>* newCallFrames, TypeBuilder::OptOutput<bool>* stack
Changed) = 0; |
| 61 virtual v8::Local<v8::Object> currentCallFrames() = 0; | 61 virtual v8::Local<v8::Object> currentCallFrames() = 0; |
| 62 virtual v8::Local<v8::Object> currentCallFramesForAsyncStack() = 0; | 62 virtual v8::Local<v8::Object> currentCallFramesForAsyncStack() = 0; |
| 63 virtual PassRefPtr<JavaScriptCallFrame> callFrameNoScopes(int index) = 0; | 63 virtual PassRefPtr<JavaScriptCallFrame> callFrameNoScopes(int index) = 0; |
| 64 virtual int frameCount() = 0; | 64 virtual int frameCount() = 0; |
| 65 | 65 |
| 66 virtual bool isPaused() = 0; | 66 virtual bool isPaused() = 0; |
| 67 | 67 |
| 68 virtual v8::Local<v8::Value> functionScopes(v8::Local<v8::Function>) = 0; | 68 virtual v8::Local<v8::Value> functionScopes(v8::Local<v8::Function>) = 0; |
| 69 virtual v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&)
= 0; | 69 virtual v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&)
= 0; |
| 70 virtual v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&) = 0; | 70 virtual v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&) = 0; |
| 71 virtual v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Val
ue> functionValue, int scopeNumber, const String& variableName, v8::Local<v8::Va
lue> newValue) = 0; | 71 virtual v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Val
ue> functionValue, int scopeNumber, const String& variableName, v8::Local<v8::Va
lue> newValue) = 0; |
| 72 | 72 |
| 73 virtual v8::Isolate* isolate() const = 0; | 73 virtual v8::Isolate* isolate() const = 0; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 | 78 |
| 79 #endif // V8Debugger_h | 79 #endif // V8Debugger_h |
| OLD | NEW |