Try to retrieve the minimum information available, which may be none on some platforms (Since: 1.18)
Try to retrieve as much information as possible, including source information when getting the stack trace