bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.68k stars 467 forks source link

support printing stack trace in reverse #269

Closed DoDoENT closed 1 year ago

DoDoENT commented 1 year ago

Addresses issue #215.

Actually, by default is printing "in reverse" (top of the stack at the "bottom"), but with this change, you can also print it as the debugger would print it (top of the stack at the "top").

bombela commented 1 year ago

At least the reverse of our respective reverse is both what we want ;)

I was considering asking you to rename the boolean, or even switch to an enum altogether. But then I realized that we are talking about chronological order. And the default is indeed the reverse chronological order.

Thank you for your contribution.