| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // This method can be called on any thread. It is caller's responsibility to
make sure that | 118 // This method can be called on any thread. It is caller's responsibility to
make sure that |
| 119 // this ScriptDebugServer and corresponding v8::Isolate exist while this met
hod is running. | 119 // this ScriptDebugServer and corresponding v8::Isolate exist while this met
hod is running. |
| 120 void interruptAndRun(PassOwnPtr<Task>); | 120 void interruptAndRun(PassOwnPtr<Task>); |
| 121 void runPendingTasks(); | 121 void runPendingTasks(); |
| 122 | 122 |
| 123 bool isPaused(); | 123 bool isPaused(); |
| 124 | 124 |
| 125 v8::Local<v8::Value> functionScopes(v8::Local<v8::Function>); | 125 v8::Local<v8::Value> functionScopes(v8::Local<v8::Function>); |
| 126 v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&); | 126 v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&); |
| 127 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&); | 127 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&); |
| 128 v8::Local<v8::Value> getInternalProperties(v8::Local<v8::Object>&); | |
| 129 v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Value> func
tionValue, int scopeNumber, const String& variableName, v8::Local<v8::Value> new
Value); | 128 v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Value> func
tionValue, int scopeNumber, const String& variableName, v8::Local<v8::Value> new
Value); |
| 130 | 129 |
| 131 v8::Isolate* isolate() const { return m_isolate; } | 130 v8::Isolate* isolate() const { return m_isolate; } |
| 132 | 131 |
| 133 private: | 132 private: |
| 134 ScriptDebugServer(v8::Isolate*, Client*); | 133 ScriptDebugServer(v8::Isolate*, Client*); |
| 135 | 134 |
| 136 void compileDebuggerScript(); | 135 void compileDebuggerScript(); |
| 137 v8::MaybeLocal<v8::Value> callDebuggerMethod(const char* functionName, int a
rgc, v8::Local<v8::Value> argv[]); | 136 v8::MaybeLocal<v8::Value> callDebuggerMethod(const char* functionName, int a
rgc, v8::Local<v8::Value> argv[]); |
| 138 v8::Local<v8::Object> debuggerScriptLocal() const; | 137 v8::Local<v8::Object> debuggerScriptLocal() const; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 RefPtr<ScriptState> m_pausedScriptState; | 169 RefPtr<ScriptState> m_pausedScriptState; |
| 171 bool m_runningNestedMessageLoop; | 170 bool m_runningNestedMessageLoop; |
| 172 class ThreadSafeTaskQueue; | 171 class ThreadSafeTaskQueue; |
| 173 OwnPtr<ThreadSafeTaskQueue> m_taskQueue; | 172 OwnPtr<ThreadSafeTaskQueue> m_taskQueue; |
| 174 }; | 173 }; |
| 175 | 174 |
| 176 } // namespace blink | 175 } // namespace blink |
| 177 | 176 |
| 178 | 177 |
| 179 #endif // ScriptDebugServer_h | 178 #endif // ScriptDebugServer_h |
| OLD | NEW |