puppeteer/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.stacktrace.md
2020-07-13 14:01:35 +01:00

14 lines
843 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Runtime](./puppeteer.protocol.runtime.md) &gt; [ConsoleAPICalledEvent](./puppeteer.protocol.runtime.consoleapicalledevent.md) &gt; [stackTrace](./puppeteer.protocol.runtime.consoleapicalledevent.stacktrace.md)
## Protocol.Runtime.ConsoleAPICalledEvent.stackTrace property
Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: `assert`<!-- -->, `error`<!-- -->, `trace`<!-- -->, `warning`<!-- -->. For other types the async call chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field.
<b>Signature:</b>
```typescript
stackTrace?: StackTrace;
```