Print note when stacktrace is too short

This commit is contained in:
Robin Gareus
2021-07-23 01:43:18 +02:00
parent 92d8a270a8
commit 8a41931ff4

View File

@@ -58,7 +58,7 @@ PBD::stacktrace (std::ostream& out, int levels, int start)
size = backtrace (array, 200);
if (size) {
if (size && size >= start) {
strings = backtrace_symbols (array, size);
if (strings) {