cry
Return stack-trace of all active threads.
def cry(
out: file-like object = null,
sepchr: string = '=',
seplen: integer = 49
) - > string
Return stack-trace of all active threads.
Parameters
| Name | Type | Description |
|---|---|---|
| out | file-like object = null | The stream or buffer where the stack trace information is written; defaults to a new WhateverIO instance if not provided. |
| sepchr | string = '=' | The character used to construct visual separators between thread dumps and sections. |
| seplen | integer = 49 | The length of the separator line used for visual formatting in the output. |
Returns
| Type | Description |
|---|---|
string | A string containing the formatted stack traces and local variables for all active threads. |