prints the current function calls, with the deepest call on top
an optional character string to separate the results. Not NA_character_.
if collapse is given, nothing is printed but instead a string returned
array of strings of stack trace, or single string if character collapse is given