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 #include "src/inspector/V8Debugger.h" | 5 #include "src/inspector/v8-debugger.h" |
6 | 6 |
7 #include "src/inspector/DebuggerScript.h" | 7 #include "src/inspector/debugger-script.h" |
8 #include "src/inspector/ScriptBreakpoint.h" | |
9 #include "src/inspector/StringUtil.h" | |
10 #include "src/inspector/V8DebuggerAgentImpl.h" | |
11 #include "src/inspector/V8InspectorImpl.h" | |
12 #include "src/inspector/V8InternalValueType.h" | |
13 #include "src/inspector/V8StackTraceImpl.h" | |
14 #include "src/inspector/V8ValueCopier.h" | |
15 #include "src/inspector/protocol/Protocol.h" | 8 #include "src/inspector/protocol/Protocol.h" |
| 9 #include "src/inspector/script-breakpoint.h" |
| 10 #include "src/inspector/string-util.h" |
| 11 #include "src/inspector/v8-debugger-agent-impl.h" |
| 12 #include "src/inspector/v8-inspector-impl.h" |
| 13 #include "src/inspector/v8-internal-value-type.h" |
| 14 #include "src/inspector/v8-stack-trace-impl.h" |
| 15 #include "src/inspector/v8-value-copier.h" |
16 | 16 |
17 namespace v8_inspector { | 17 namespace v8_inspector { |
18 | 18 |
19 namespace { | 19 namespace { |
20 const char stepIntoV8MethodName[] = "stepIntoStatement"; | 20 const char stepIntoV8MethodName[] = "stepIntoStatement"; |
21 const char stepOutV8MethodName[] = "stepOutOfFunction"; | 21 const char stepOutV8MethodName[] = "stepOutOfFunction"; |
22 static const char v8AsyncTaskEventEnqueue[] = "enqueue"; | 22 static const char v8AsyncTaskEventEnqueue[] = "enqueue"; |
23 static const char v8AsyncTaskEventWillHandle[] = "willHandle"; | 23 static const char v8AsyncTaskEventWillHandle[] = "willHandle"; |
24 static const char v8AsyncTaskEventDidHandle[] = "didHandle"; | 24 static const char v8AsyncTaskEventDidHandle[] = "didHandle"; |
25 | 25 |
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 | 973 |
974 size_t stackSize = | 974 size_t stackSize = |
975 fullStack ? V8StackTraceImpl::maxCallStackSizeToCapture : 1; | 975 fullStack ? V8StackTraceImpl::maxCallStackSizeToCapture : 1; |
976 if (m_inspector->enabledRuntimeAgentForGroup(contextGroupId)) | 976 if (m_inspector->enabledRuntimeAgentForGroup(contextGroupId)) |
977 stackSize = V8StackTraceImpl::maxCallStackSizeToCapture; | 977 stackSize = V8StackTraceImpl::maxCallStackSizeToCapture; |
978 | 978 |
979 return V8StackTraceImpl::capture(this, contextGroupId, stackSize); | 979 return V8StackTraceImpl::capture(this, contextGroupId, stackSize); |
980 } | 980 } |
981 | 981 |
982 } // namespace v8_inspector | 982 } // namespace v8_inspector |
OLD | NEW |