OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project 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 V8_INSPECTOR_V8DEBUGGER_H_ | 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ |
6 #define V8_INSPECTOR_V8DEBUGGER_H_ | 6 #define V8_INSPECTOR_V8DEBUGGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 String16 setBreakpoint(const ScriptBreakpoint&, int* actualLineNumber, | 44 String16 setBreakpoint(const ScriptBreakpoint&, int* actualLineNumber, |
45 int* actualColumnNumber); | 45 int* actualColumnNumber); |
46 void removeBreakpoint(const String16& breakpointId); | 46 void removeBreakpoint(const String16& breakpointId); |
47 void setBreakpointsActivated(bool); | 47 void setBreakpointsActivated(bool); |
48 bool breakpointsActivated() const { return m_breakpointsActivated; } | 48 bool breakpointsActivated() const { return m_breakpointsActivated; } |
49 | 49 |
50 v8::debug::ExceptionBreakState getPauseOnExceptionsState(); | 50 v8::debug::ExceptionBreakState getPauseOnExceptionsState(); |
51 void setPauseOnExceptionsState(v8::debug::ExceptionBreakState); | 51 void setPauseOnExceptionsState(v8::debug::ExceptionBreakState); |
52 bool canBreakProgram(); | 52 bool canBreakProgram(); |
53 bool breakProgram(int targetContextGroupId); | 53 void breakProgram(int targetContextGroupId); |
54 void continueProgram(int targetContextGroupId); | 54 void continueProgram(int targetContextGroupId); |
55 | 55 |
56 void setPauseOnNextStatement(bool, int targetContextGroupId); | 56 void setPauseOnNextStatement(bool, int targetContextGroupId); |
57 void stepIntoStatement(int targetContextGroupId); | 57 void stepIntoStatement(int targetContextGroupId); |
58 void stepOverStatement(int targetContextGroupId); | 58 void stepOverStatement(int targetContextGroupId); |
59 void stepOutOfFunction(int targetContextGroupId); | 59 void stepOutOfFunction(int targetContextGroupId); |
60 void scheduleStepIntoAsync( | 60 void scheduleStepIntoAsync( |
61 std::unique_ptr<ScheduleStepIntoAsyncCallback> callback, | 61 std::unique_ptr<ScheduleStepIntoAsyncCallback> callback, |
62 int targetContextGroupId); | 62 int targetContextGroupId); |
63 | 63 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 224 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
225 | 225 |
226 WasmTranslation m_wasmTranslation; | 226 WasmTranslation m_wasmTranslation; |
227 | 227 |
228 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 228 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
229 }; | 229 }; |
230 | 230 |
231 } // namespace v8_inspector | 231 } // namespace v8_inspector |
232 | 232 |
233 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 233 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
OLD | NEW |