OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 v8::Local<v8::Context> pausedContext() { return m_pausedContext; } | 88 v8::Local<v8::Context> pausedContext() { return m_pausedContext; } |
89 | 89 |
90 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Function>); | 90 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Function>); |
91 v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&); | 91 v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&); |
92 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&); | 92 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&); |
93 v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Value> func
tionValue, int scopeNumber, const String& variableName, v8::Local<v8::Value> new
Value); | 93 v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Value> func
tionValue, int scopeNumber, const String& variableName, v8::Local<v8::Value> new
Value); |
94 | 94 |
95 v8::Isolate* isolate() const { return m_isolate; } | 95 v8::Isolate* isolate() const { return m_isolate; } |
96 V8DebuggerClient* client() { return m_client; } | 96 V8DebuggerClient* client() { return m_client; } |
97 | 97 |
| 98 int willExecuteScript(v8::Local<v8::Context>, int scriptId); |
| 99 void didExecuteScript(int cookie); |
| 100 |
| 101 v8::Local<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>, v8:
:Local<v8::String>); |
98 v8::Local<v8::Script> compileInternalScript(v8::Local<v8::Context>, v8::Loca
l<v8::String>, const String& fileName); | 102 v8::Local<v8::Script> compileInternalScript(v8::Local<v8::Context>, v8::Loca
l<v8::String>, const String& fileName); |
99 v8::Local<v8::Context> regexContext(); | 103 v8::Local<v8::Context> regexContext(); |
100 | 104 |
101 // V8Debugger implementation | 105 // V8Debugger implementation |
102 PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>, size_t
maxStackSize) override; | 106 PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>, size_t
maxStackSize) override; |
103 PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) override; | 107 PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) override; |
104 | 108 |
105 private: | 109 private: |
106 void enable(); | 110 void enable(); |
107 void disable(); | 111 void disable(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 v8::Local<v8::Object> m_executionState; | 146 v8::Local<v8::Object> m_executionState; |
143 v8::Local<v8::Context> m_pausedContext; | 147 v8::Local<v8::Context> m_pausedContext; |
144 bool m_runningNestedMessageLoop; | 148 bool m_runningNestedMessageLoop; |
145 v8::Global<v8::Context> m_regexContext; | 149 v8::Global<v8::Context> m_regexContext; |
146 }; | 150 }; |
147 | 151 |
148 } // namespace blink | 152 } // namespace blink |
149 | 153 |
150 | 154 |
151 #endif // V8DebuggerImpl_h | 155 #endif // V8DebuggerImpl_h |
OLD | NEW |