Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: all tests pass Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h
index 721789319bb2973e02fdd42fa85dc08e2f526767..b27d6ecc052d23301b550322a04628ab9b5950e1 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h
@@ -20,6 +20,8 @@ class V8DebuggerAgentImpl;
class V8StackTraceImpl final : public V8StackTrace {
PROTOCOL_DISALLOW_COPY(V8StackTraceImpl);
public:
+ static const size_t maxCallStackSizeToCapture = 200;
+
class Frame {
public:
Frame();
@@ -45,6 +47,7 @@ public:
int m_columnNumber;
};
+ static void setCaptureStackTraceForUncaughtExceptions(v8::Isolate*, bool capture);
static std::unique_ptr<V8StackTraceImpl> create(V8DebuggerAgentImpl*, v8::Local<v8::StackTrace>, size_t maxStackSize, const String16& description = String16());
static std::unique_ptr<V8StackTraceImpl> capture(V8DebuggerAgentImpl*, size_t maxStackSize, const String16& description = String16());

Powered by Google App Engine
This is Rietveld 408576698