pull stacktrace from proper place, falling back to caller-info
helper for testing stacktrace, formatting