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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void setPauseOnExceptionsState(PauseOnExceptionsState); | 81 void setPauseOnExceptionsState(PauseOnExceptionsState); |
82 void setPauseOnNextStatement(bool); | 82 void setPauseOnNextStatement(bool); |
83 bool canBreakProgram(); | 83 bool canBreakProgram(); |
84 void breakProgram(); | 84 void breakProgram(); |
85 void continueProgram(); | 85 void continueProgram(); |
86 void stepIntoStatement(); | 86 void stepIntoStatement(); |
87 void stepOverStatement(); | 87 void stepOverStatement(); |
88 void stepOutOfFunction(); | 88 void stepOutOfFunction(); |
89 void clearStepping(); | 89 void clearStepping(); |
90 | 90 |
91 bool setScriptSource(const String16& sourceID, v8::Local<v8::String> newSour
ce, bool preview, ErrorString*, Maybe<protocol::Debugger::SetScriptSourceError>*
, JavaScriptCallFrames* newCallFrames, Maybe<bool>* stackChanged); | 91 bool setScriptSource(const String16& sourceID, v8::Local<v8::String> newSour
ce, bool preview, ErrorString*, Maybe<protocol::Runtime::ExceptionDetails>*, Jav
aScriptCallFrames* newCallFrames, Maybe<bool>* stackChanged); |
92 JavaScriptCallFrames currentCallFrames(int limit = 0); | 92 JavaScriptCallFrames currentCallFrames(int limit = 0); |
93 | 93 |
94 // Each script inherits debug data from v8::Context where it has been compil
ed. | 94 // Each script inherits debug data from v8::Context where it has been compil
ed. |
95 // Only scripts whose debug data matches |contextGroupId| will be reported. | 95 // Only scripts whose debug data matches |contextGroupId| will be reported. |
96 // Passing 0 will result in reporting all scripts. | 96 // Passing 0 will result in reporting all scripts. |
97 void getCompiledScripts(int contextGroupId, std::vector<std::unique_ptr<V8De
buggerScript>>&); | 97 void getCompiledScripts(int contextGroupId, std::vector<std::unique_ptr<V8De
buggerScript>>&); |
98 void debuggerAgentEnabled(); | 98 void debuggerAgentEnabled(); |
99 void debuggerAgentDisabled(); | 99 void debuggerAgentDisabled(); |
100 | 100 |
101 bool isPaused(); | 101 bool isPaused(); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 int m_maxAsyncCallStackDepth; | 200 int m_maxAsyncCallStackDepth; |
201 std::vector<void*> m_currentTasks; | 201 std::vector<void*> m_currentTasks; |
202 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; | 202 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
203 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; | 203 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
204 }; | 204 }; |
205 | 205 |
206 } // namespace blink | 206 } // namespace blink |
207 | 207 |
208 | 208 |
209 #endif // V8DebuggerImpl_h | 209 #endif // V8DebuggerImpl_h |
OLD | NEW |