Merge "Print number of frames"

This commit is contained in:
Florian Mayer 2023-04-10 20:59:18 +00:00 committed by Gerrit Code Review
commit 152de539df
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ static void print_backtrace(CallbackType callback, const Tombstone& tombstone,
static void print_thread_backtrace(CallbackType callback, const Tombstone& tombstone, static void print_thread_backtrace(CallbackType callback, const Tombstone& tombstone,
const Thread& thread, bool should_log) { const Thread& thread, bool should_log) {
CBS(""); CBS("");
CB(should_log, "%d total frames", thread.current_backtrace().size());
CB(should_log, "backtrace:"); CB(should_log, "backtrace:");
if (!thread.backtrace_note().empty()) { if (!thread.backtrace_note().empty()) {
CB(should_log, " NOTE: %s", CB(should_log, " NOTE: %s",