| Index: src/inspector/v8-debugger.cc
|
| diff --git a/src/inspector/v8-debugger.cc b/src/inspector/v8-debugger.cc
|
| index 3f0fb900825838c2342631d7bd5ce7d1b34d2ea3..839a1be3727e00aee8f0f9e7d178ac6b71da2338 100644
|
| --- a/src/inspector/v8-debugger.cc
|
| +++ b/src/inspector/v8-debugger.cc
|
| @@ -1015,10 +1015,10 @@ std::unique_ptr<V8StackTraceImpl> V8Debugger::captureStackTrace(
|
| int contextGroupId = currentContextGroupId();
|
| if (!contextGroupId) return nullptr;
|
|
|
| - size_t stackSize =
|
| - fullStack ? V8StackTraceImpl::maxCallStackSizeToCapture : 1;
|
| - if (m_inspector->enabledRuntimeAgentForGroup(contextGroupId))
|
| - stackSize = V8StackTraceImpl::maxCallStackSizeToCapture;
|
| + size_t stackSize = 0;
|
| + // fullStack ? V8StackTraceImpl::maxCallStackSizeToCapture : 1;
|
| + // if (m_inspector->enabledRuntimeAgentForGroup(contextGroupId))
|
| + stackSize = V8StackTraceImpl::maxCallStackSizeToCapture;
|
|
|
| return V8StackTraceImpl::capture(this, contextGroupId, stackSize);
|
| }
|
|
|