mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 23:01:58 +00:00
Enable async stack traces (#22517)
### What does this PR do? Enables async stack traces ### How did you verify your code works? Added tests --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -292,6 +292,7 @@ JSCStackFrame::JSCStackFrame(JSC::VM& vm, JSC::StackVisitor& visitor)
|
||||
, m_sourceURL()
|
||||
, m_functionName()
|
||||
, m_isWasmFrame(false)
|
||||
, m_isAsync(false)
|
||||
, m_sourcePositionsState(SourcePositionsState::NotCalculated)
|
||||
{
|
||||
m_callee = visitor->callee().asCell();
|
||||
@@ -340,6 +341,7 @@ JSCStackFrame::JSCStackFrame(JSC::VM& vm, const JSC::StackFrame& frame)
|
||||
, m_sourceURL()
|
||||
, m_functionName()
|
||||
, m_isWasmFrame(false)
|
||||
, m_isAsync(frame.isAsyncFrame())
|
||||
, m_sourcePositionsState(SourcePositionsState::NotCalculated)
|
||||
{
|
||||
m_callee = frame.callee();
|
||||
|
||||
Reference in New Issue
Block a user