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/V8StackTraceImpl.h" | 5 #include "src/inspector/v8-stack-trace-impl.h" |
6 | 6 |
7 #include "src/inspector/StringUtil.h" | 7 #include "src/inspector/string-util.h" |
8 #include "src/inspector/V8Debugger.h" | 8 #include "src/inspector/v8-debugger.h" |
9 #include "src/inspector/V8InspectorImpl.h" | 9 #include "src/inspector/v8-inspector-impl.h" |
10 #include "src/inspector/V8ProfilerAgentImpl.h" | 10 #include "src/inspector/v8-profiler-agent-impl.h" |
11 #include "src/inspector/protocol/Protocol.h" | |
12 | 11 |
13 #include "include/v8-debug.h" | 12 #include "include/v8-debug.h" |
14 #include "include/v8-profiler.h" | 13 #include "include/v8-profiler.h" |
15 #include "include/v8-version.h" | 14 #include "include/v8-version.h" |
16 | 15 |
17 namespace v8_inspector { | 16 namespace v8_inspector { |
18 | 17 |
19 namespace { | 18 namespace { |
20 | 19 |
21 static const v8::StackTrace::StackTraceOptions stackTraceOptions = | 20 static const v8::StackTrace::StackTraceOptions stackTraceOptions = |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 stackTrace.append(String16::fromInteger(frame.lineNumber())); | 270 stackTrace.append(String16::fromInteger(frame.lineNumber())); |
272 stackTrace.append(':'); | 271 stackTrace.append(':'); |
273 stackTrace.append(String16::fromInteger(frame.columnNumber())); | 272 stackTrace.append(String16::fromInteger(frame.columnNumber())); |
274 stackTrace.append(')'); | 273 stackTrace.append(')'); |
275 } | 274 } |
276 String16 string = stackTrace.toString(); | 275 String16 string = stackTrace.toString(); |
277 return StringBufferImpl::adopt(string); | 276 return StringBufferImpl::adopt(string); |
278 } | 277 } |
279 | 278 |
280 } // namespace v8_inspector | 279 } // namespace v8_inspector |
OLD | NEW |