Skip to main content

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

NameTypeDescription
outfile-like object = nullThe stream or buffer where the stack trace information is written; defaults to a new WhateverIO instance if not provided.
sepchrstring = '='The character used to construct visual separators between thread dumps and sections.
sepleninteger = 49The length of the separator line used for visual formatting in the output.

Returns

TypeDescription
stringA string containing the formatted stack traces and local variables for all active threads.